{"action":"created","issue":{"url":"https://api.github.com/repos/18F/web-design-standards/issues/723","labels_url":"https://api.github.com/repos/18F/web-design-standards/issues/723/labels{/name}","comments_url":"https://api.github.com/repos/18F/web-design-standards/issues/723/comments","events_url":"https://api.github.com/repos/18F/web-design-standards/issues/723/events","html_url":"https://github.com/18F/web-design-standards/pull/723","id":108233765,"number":723,"title":"[WIP] Optimize SVGs","user":{"login":"shawnbot","id":113896,"avatar_url":"https://avatars.githubusercontent.com/u/113896?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnbot","html_url":"https://github.com/shawnbot","followers_url":"https://api.github.com/users/shawnbot/followers","following_url":"https://api.github.com/users/shawnbot/following{/other_user}","gists_url":"https://api.github.com/users/shawnbot/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnbot/subscriptions","organizations_url":"https://api.github.com/users/shawnbot/orgs","repos_url":"https://api.github.com/users/shawnbot/repos","events_url":"https://api.github.com/users/shawnbot/events{/privacy}","received_events_url":"https://api.github.com/users/shawnbot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-24T23:28:18Z","updated_at":"2015-10-01T22:29:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/18F/web-design-standards/pulls/723","html_url":"https://github.com/18F/web-design-standards/pull/723","diff_url":"https://github.com/18F/web-design-standards/pull/723.diff","patch_url":"https://github.com/18F/web-design-standards/pull/723.patch"},"body":"#### :warning: :construction: Work in Progress :construction: :warning: \r\n\r\nThis PR optimizes all of the non-font SVGs in the `assets` directory and adds a `Makefile` for re-running the optimization step, which you can do with:\r\n\r\n```sh\r\nmake optimize-svg\r\n```\r\n\r\nSVGs are optimized with [svgo](https://github.com/svg/svgo), which is packaged as a Node module. To facilitate installing it, I've also added a `package.json` which Node will use to install svgo as a development dependency when you run this from the project root:\r\n\r\n```sh\r\nnpm install --dev\r\n```\r\n\r\nOf course, [having a `package.json`](https://docs.npmjs.com/files/package.json) *suggests* that we'll be be releasing this project as a Node module, but we don't necessarily have to (and people can reference the repo via its git URL for now if they *really* want to include it as a dependency). Of course, @msecret might plans for this, so I may be putting the cart before the horse here. So if the inclusion of either the `Makefile` or the `package.json` seems unnecessary, just let me know and I'll reset to the commit with just the optimized SVGs and leave these files out for now. :v: "},"comment":{"url":"https://api.github.com/repos/18F/web-design-standards/issues/comments/144866456","html_url":"https://github.com/18F/web-design-standards/pull/723#issuecomment-144866456","issue_url":"https://api.github.com/repos/18F/web-design-standards/issues/723","id":144866456,"user":{"login":"shawnbot","id":113896,"avatar_url":"https://avatars.githubusercontent.com/u/113896?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnbot","html_url":"https://github.com/shawnbot","followers_url":"https://api.github.com/users/shawnbot/followers","following_url":"https://api.github.com/users/shawnbot/following{/other_user}","gists_url":"https://api.github.com/users/shawnbot/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnbot/subscriptions","organizations_url":"https://api.github.com/users/shawnbot/orgs","repos_url":"https://api.github.com/users/shawnbot/repos","events_url":"https://api.github.com/users/shawnbot/events{/privacy}","received_events_url":"https://api.github.com/users/shawnbot/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T22:29:17Z","updated_at":"2015-10-01T22:29:17Z","body":"Thanks, @carodew. Hey @msecret, what do you think?"}}