{"action":"created","issue":{"url":"https://api.github.com/repos/date-fns/date-fns/issues/296","repository_url":"https://api.github.com/repos/date-fns/date-fns","labels_url":"https://api.github.com/repos/date-fns/date-fns/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/date-fns/date-fns/issues/296/comments","events_url":"https://api.github.com/repos/date-fns/date-fns/issues/296/events","html_url":"https://github.com/date-fns/date-fns/pull/296","id":193877129,"number":296,"title":"Converts to ES6 to enable tree-shaking","user":{"login":"alexgorbatchev","id":65633,"avatar_url":"https://avatars.githubusercontent.com/u/65633?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgorbatchev","html_url":"https://github.com/alexgorbatchev","followers_url":"https://api.github.com/users/alexgorbatchev/followers","following_url":"https://api.github.com/users/alexgorbatchev/following{/other_user}","gists_url":"https://api.github.com/users/alexgorbatchev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgorbatchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgorbatchev/subscriptions","organizations_url":"https://api.github.com/users/alexgorbatchev/orgs","repos_url":"https://api.github.com/users/alexgorbatchev/repos","events_url":"https://api.github.com/users/alexgorbatchev/events{/privacy}","received_events_url":"https://api.github.com/users/alexgorbatchev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-06T20:36:17Z","updated_at":"2016-12-07T00:51:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/date-fns/date-fns/pulls/296","html_url":"https://github.com/date-fns/date-fns/pull/296","diff_url":"https://github.com/date-fns/date-fns/pull/296.diff","patch_url":"https://github.com/date-fns/date-fns/pull/296.patch"},"body":"Closes #179\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/date-fns/date-fns/issues/comments/265321766","html_url":"https://github.com/date-fns/date-fns/pull/296#issuecomment-265321766","issue_url":"https://api.github.com/repos/date-fns/date-fns/issues/296","id":265321766,"user":{"login":"alexgorbatchev","id":65633,"avatar_url":"https://avatars.githubusercontent.com/u/65633?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgorbatchev","html_url":"https://github.com/alexgorbatchev","followers_url":"https://api.github.com/users/alexgorbatchev/followers","following_url":"https://api.github.com/users/alexgorbatchev/following{/other_user}","gists_url":"https://api.github.com/users/alexgorbatchev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgorbatchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgorbatchev/subscriptions","organizations_url":"https://api.github.com/users/alexgorbatchev/orgs","repos_url":"https://api.github.com/users/alexgorbatchev/repos","events_url":"https://api.github.com/users/alexgorbatchev/events{/privacy}","received_events_url":"https://api.github.com/users/alexgorbatchev/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T00:51:10Z","updated_at":"2016-12-07T00:51:10Z","body":"@mattlewis92 thanks for feedback! I updated `release_npm.sh` to transpile es6 to es3 to maintain backward compatibility... at the same time, it copies `src` into `es6` folder to enable `import foo from 'date-fns/es6/foo'`\r\n\r\nWhat do you think?\r\n\r\n```\r\n#\r\n# This will compile all ES6 files on top of the already copied files leaving\r\n# all non *.js files in place as expected\r\n#\r\n(cd src && $(npm bin)/babel --out-dir ../$dir **/*.js)\r\n\r\n#\r\n# Copy ES6 files into the ./src folder so that one could call\r\n#\r\n#   import foo from 'date-fns/es6/foo';\r\n#\r\ncp -r ./src $dir/es6\r\n```"}}
{"actor":{"display_login":"alexgorbatchev"}}