{"action":"created","issue":{"url":"https://api.github.com/repos/stampit-org/stampit/issues/152","labels_url":"https://api.github.com/repos/stampit-org/stampit/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/stampit-org/stampit/issues/152/comments","events_url":"https://api.github.com/repos/stampit-org/stampit/issues/152/events","html_url":"https://github.com/stampit-org/stampit/pull/152","id":94828477,"number":152,"title":"Bower: restoring bower.json and the dist folder (#150)","user":{"login":"sethlivingston","id":574793,"avatar_url":"https://avatars.githubusercontent.com/u/574793?v=3","gravatar_id":"","url":"https://api.github.com/users/sethlivingston","html_url":"https://github.com/sethlivingston","followers_url":"https://api.github.com/users/sethlivingston/followers","following_url":"https://api.github.com/users/sethlivingston/following{/other_user}","gists_url":"https://api.github.com/users/sethlivingston/gists{/gist_id}","starred_url":"https://api.github.com/users/sethlivingston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethlivingston/subscriptions","organizations_url":"https://api.github.com/users/sethlivingston/orgs","repos_url":"https://api.github.com/users/sethlivingston/repos","events_url":"https://api.github.com/users/sethlivingston/events{/privacy}","received_events_url":"https://api.github.com/users/sethlivingston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-07-13T22:43:11Z","updated_at":"2015-07-20T01:31:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stampit-org/stampit/pulls/152","html_url":"https://github.com/stampit-org/stampit/pull/152","diff_url":"https://github.com/stampit-org/stampit/pull/152.diff","patch_url":"https://github.com/stampit-org/stampit/pull/152.patch"},"body":"- Restores `bower.json` to the repository.\r\n- Restores the `dist/` folder to the respository."},"comment":{"url":"https://api.github.com/repos/stampit-org/stampit/issues/comments/122726795","html_url":"https://github.com/stampit-org/stampit/pull/152#issuecomment-122726795","issue_url":"https://api.github.com/repos/stampit-org/stampit/issues/152","id":122726795,"user":{"login":"koresar","id":1622575,"avatar_url":"https://avatars.githubusercontent.com/u/1622575?v=3","gravatar_id":"","url":"https://api.github.com/users/koresar","html_url":"https://github.com/koresar","followers_url":"https://api.github.com/users/koresar/followers","following_url":"https://api.github.com/users/koresar/following{/other_user}","gists_url":"https://api.github.com/users/koresar/gists{/gist_id}","starred_url":"https://api.github.com/users/koresar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koresar/subscriptions","organizations_url":"https://api.github.com/users/koresar/orgs","repos_url":"https://api.github.com/users/koresar/repos","events_url":"https://api.github.com/users/koresar/events{/privacy}","received_events_url":"https://api.github.com/users/koresar/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T01:31:09Z","updated_at":"2015-07-20T01:31:09Z","body":"I bed your pardon.\r\n> The dist/ files should be ingnored in both .gitignore and .npmignore.\r\n\r\nI meant not the entire directory, but just the newly generated files.\r\n\r\nBy putting the `dist` directory into the `.npmignore` we are breacking npm publishing process. The thing is stampit is traspiled from ES6->ES5 so that other projects could use the module. The ES5 files are stored in the `/dist` directory. See the `package.json` line:\r\n> `  \"main\": \"./dist/stampit.js\",`\r\n\r\nBut knowing how bower works I understand why people are creating separate repositories for package management.\r\n\r\nThe `/dist/stampit.js` and `/dist/stampit.min.js` files are standard CommonJS files which are published to NPM. People expect them to remain CommonJS."}}