{"action":"created","issue":{"url":"https://api.github.com/repos/gaearon/dnd-core/issues/8","labels_url":"https://api.github.com/repos/gaearon/dnd-core/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/gaearon/dnd-core/issues/8/comments","events_url":"https://api.github.com/repos/gaearon/dnd-core/issues/8/events","html_url":"https://github.com/gaearon/dnd-core/pull/8","id":60363719,"number":8,"title":"Use npm prepublish instead of committing dist files","user":{"login":"acdlite","id":3624098,"avatar_url":"https://avatars.githubusercontent.com/u/3624098?v=3","gravatar_id":"","url":"https://api.github.com/users/acdlite","html_url":"https://github.com/acdlite","followers_url":"https://api.github.com/users/acdlite/followers","following_url":"https://api.github.com/users/acdlite/following{/other_user}","gists_url":"https://api.github.com/users/acdlite/gists{/gist_id}","starred_url":"https://api.github.com/users/acdlite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdlite/subscriptions","organizations_url":"https://api.github.com/users/acdlite/orgs","repos_url":"https://api.github.com/users/acdlite/repos","events_url":"https://api.github.com/users/acdlite/events{/privacy}","received_events_url":"https://api.github.com/users/acdlite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-09T15:49:02Z","updated_at":"2015-03-09T16:12:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gaearon/dnd-core/pulls/8","html_url":"https://github.com/gaearon/dnd-core/pull/8","diff_url":"https://github.com/gaearon/dnd-core/pull/8.diff","patch_url":"https://github.com/gaearon/dnd-core/pull/8.patch"},"body":"I believe it's best practice to use the npm prepublish hook instead of committing generated build files. (One exception I can think of is when you want to provide a browser build for non-npm consumers.) This reduces bloat in the repo and reduces the likelihood that you'll forget to build before publishing."},"comment":{"url":"https://api.github.com/repos/gaearon/dnd-core/issues/comments/77884941","html_url":"https://github.com/gaearon/dnd-core/pull/8#issuecomment-77884941","issue_url":"https://api.github.com/repos/gaearon/dnd-core/issues/8","id":77884941,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T16:12:37Z","updated_at":"2015-03-09T16:12:37Z","body":"Totally agree, I just had no idea `.npmignore` exists. :-)"}}