{"action":"created","issue":{"url":"https://api.github.com/repos/Alberplz/angular2-color-picker/issues/11","repository_url":"https://api.github.com/repos/Alberplz/angular2-color-picker","labels_url":"https://api.github.com/repos/Alberplz/angular2-color-picker/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/Alberplz/angular2-color-picker/issues/11/comments","events_url":"https://api.github.com/repos/Alberplz/angular2-color-picker/issues/11/events","html_url":"https://github.com/Alberplz/angular2-color-picker/pull/11","id":161560087,"number":11,"title":"Feature#make npm package","user":{"login":"Csini","id":16489798,"avatar_url":"https://avatars.githubusercontent.com/u/16489798?v=3","gravatar_id":"","url":"https://api.github.com/users/Csini","html_url":"https://github.com/Csini","followers_url":"https://api.github.com/users/Csini/followers","following_url":"https://api.github.com/users/Csini/following{/other_user}","gists_url":"https://api.github.com/users/Csini/gists{/gist_id}","starred_url":"https://api.github.com/users/Csini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Csini/subscriptions","organizations_url":"https://api.github.com/users/Csini/orgs","repos_url":"https://api.github.com/users/Csini/repos","events_url":"https://api.github.com/users/Csini/events{/privacy}","received_events_url":"https://api.github.com/users/Csini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-06-21T23:06:36Z","updated_at":"2016-08-17T17:55:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Alberplz/angular2-color-picker/pulls/11","html_url":"https://github.com/Alberplz/angular2-color-picker/pull/11","diff_url":"https://github.com/Alberplz/angular2-color-picker/pull/11.diff","patch_url":"https://github.com/Alberplz/angular2-color-picker/pull/11.patch"},"body":"This is a cool color-picker adaptation for Angular 2. The Demo was fully functional as it was, but when I  imported it as an npm package the ./color-picker.html couldn't be found. It would be a waste not fixing this project. That's why is this pull request here.\r\n\r\nWe increased the version to 2.0.0, renamed the Demo to \"example\" and it uses the angular2-color-picker as an npm package. With this restructure of files, it is guaranteed, when example works, the color-picker will be working as an external npm package. We followed these instructions: https://medium.com/@OCombe/how-to-publish-a-library-for-angular-2-on-npm-5f48cdabf435#.ygkp0wsbe\r\nand\r\nhttp://blog.angular-university.io/how-to-create-an-angular-2-library-and-how-to-consume-it-jspm-vs-webpack/\r\n\r\nTo create \"distribution version\" we inline html and scss; we created a simple gulpfile.js to use for it.\r\n\r\nVersion 2.0.0 is not yet published to npm, we only tested with npm link and npm pack.\r\n\r\nIf you are agreed with our changes, then after this pull request, can you publish the version 2.0.0 ? We would use it immediately in our project.\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/Alberplz/angular2-color-picker/issues/comments/240493108","html_url":"https://github.com/Alberplz/angular2-color-picker/pull/11#issuecomment-240493108","issue_url":"https://api.github.com/repos/Alberplz/angular2-color-picker/issues/11","id":240493108,"user":{"login":"Csini","id":16489798,"avatar_url":"https://avatars.githubusercontent.com/u/16489798?v=3","gravatar_id":"","url":"https://api.github.com/users/Csini","html_url":"https://github.com/Csini","followers_url":"https://api.github.com/users/Csini/followers","following_url":"https://api.github.com/users/Csini/following{/other_user}","gists_url":"https://api.github.com/users/Csini/gists{/gist_id}","starred_url":"https://api.github.com/users/Csini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Csini/subscriptions","organizations_url":"https://api.github.com/users/Csini/orgs","repos_url":"https://api.github.com/users/Csini/repos","events_url":"https://api.github.com/users/Csini/events{/privacy}","received_events_url":"https://api.github.com/users/Csini/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T17:55:40Z","updated_at":"2016-08-17T17:55:40Z","body":"https://github.com/Alberplz/angular2-color-picker/issues/12"}}
{"actor":{"display_login":"Csini"}}