{"action":"created","issue":{"url":"https://api.github.com/repos/bkkhack/hacknights/issues/143","repository_url":"https://api.github.com/repos/bkkhack/hacknights","labels_url":"https://api.github.com/repos/bkkhack/hacknights/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/bkkhack/hacknights/issues/143/comments","events_url":"https://api.github.com/repos/bkkhack/hacknights/issues/143/events","html_url":"https://github.com/bkkhack/hacknights/issues/143","id":185056515,"number":143,"title":"Hook up Babel/transpiler to an existing NPM package","user":{"login":"cbrunnkvist","id":34006,"avatar_url":"https://avatars.githubusercontent.com/u/34006?v=3","gravatar_id":"","url":"https://api.github.com/users/cbrunnkvist","html_url":"https://github.com/cbrunnkvist","followers_url":"https://api.github.com/users/cbrunnkvist/followers","following_url":"https://api.github.com/users/cbrunnkvist/following{/other_user}","gists_url":"https://api.github.com/users/cbrunnkvist/gists{/gist_id}","starred_url":"https://api.github.com/users/cbrunnkvist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbrunnkvist/subscriptions","organizations_url":"https://api.github.com/users/cbrunnkvist/orgs","repos_url":"https://api.github.com/users/cbrunnkvist/repos","events_url":"https://api.github.com/users/cbrunnkvist/events{/privacy}","received_events_url":"https://api.github.com/users/cbrunnkvist/received_events","type":"User","site_admin":false},"labels":[{"id":334993956,"url":"https://api.github.com/repos/bkkhack/hacknights/labels/grape","name":"grape","color":"5319e7","default":false},{"id":347378433,"url":"https://api.github.com/repos/bkkhack/hacknights/labels/javascript","name":"javascript","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/bkkhack/hacknights/milestones/9","html_url":"https://github.com/bkkhack/hacknights/milestones/2016-10-27%20Hack%20Night","labels_url":"https://api.github.com/repos/bkkhack/hacknights/milestones/9/labels","id":2091700,"number":9,"title":"2016-10-27 Hack Night","description":"Create an issue tagged with this milestone for a topic that you plan to work on or would like to learn at the October 27th hack night. Others can find or team up with you if they're are interested.","creator":{"login":"ches","id":13277,"avatar_url":"https://avatars.githubusercontent.com/u/13277?v=3","gravatar_id":"","url":"https://api.github.com/users/ches","html_url":"https://github.com/ches","followers_url":"https://api.github.com/users/ches/followers","following_url":"https://api.github.com/users/ches/following{/other_user}","gists_url":"https://api.github.com/users/ches/gists{/gist_id}","starred_url":"https://api.github.com/users/ches/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ches/subscriptions","organizations_url":"https://api.github.com/users/ches/orgs","repos_url":"https://api.github.com/users/ches/repos","events_url":"https://api.github.com/users/ches/events{/privacy}","received_events_url":"https://api.github.com/users/ches/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":0,"state":"open","created_at":"2016-10-25T09:15:14Z","updated_at":"2016-10-27T14:01:55Z","due_on":"2016-10-27T00:00:00Z","closed_at":null},"comments":4,"created_at":"2016-10-25T08:54:47Z","updated_at":"2016-11-18T08:58:55Z","closed_at":null,"body":null},"comment":{"url":"https://api.github.com/repos/bkkhack/hacknights/issues/comments/261480906","html_url":"https://github.com/bkkhack/hacknights/issues/143#issuecomment-261480906","issue_url":"https://api.github.com/repos/bkkhack/hacknights/issues/143","id":261480906,"user":{"login":"cbrunnkvist","id":34006,"avatar_url":"https://avatars.githubusercontent.com/u/34006?v=3","gravatar_id":"","url":"https://api.github.com/users/cbrunnkvist","html_url":"https://github.com/cbrunnkvist","followers_url":"https://api.github.com/users/cbrunnkvist/followers","following_url":"https://api.github.com/users/cbrunnkvist/following{/other_user}","gists_url":"https://api.github.com/users/cbrunnkvist/gists{/gist_id}","starred_url":"https://api.github.com/users/cbrunnkvist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbrunnkvist/subscriptions","organizations_url":"https://api.github.com/users/cbrunnkvist/orgs","repos_url":"https://api.github.com/users/cbrunnkvist/repos","events_url":"https://api.github.com/users/cbrunnkvist/events{/privacy}","received_events_url":"https://api.github.com/users/cbrunnkvist/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T08:58:55Z","updated_at":"2016-11-18T08:58:55Z","body":"Finished ... the key was to :\n1. move all files (tests too) into \"src\" \n2. make the npm prepublish step run babel and output into \"dist\", \n3. keep common files such as data, readme and package.json in the root and set entry point to \"dist/index.js\" \n4. add \"src\" to .npmignore and \"dist\" to .gitignore \n\nand a few small tweaks to get around missing `this` object in arrow functions."}}
{"actor":{"display_login":"cbrunnkvist"}}