{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment-timezone/issues/310","repository_url":"https://api.github.com/repos/moment/moment-timezone","labels_url":"https://api.github.com/repos/moment/moment-timezone/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment-timezone/issues/310/comments","events_url":"https://api.github.com/repos/moment/moment-timezone/issues/310/events","html_url":"https://github.com/moment/moment-timezone/pull/310","id":139319744,"number":310,"title":"Convert to ES6","user":{"login":"timrwood","id":643885,"avatar_url":"https://avatars.githubusercontent.com/u/643885?v=3","gravatar_id":"","url":"https://api.github.com/users/timrwood","html_url":"https://github.com/timrwood","followers_url":"https://api.github.com/users/timrwood/followers","following_url":"https://api.github.com/users/timrwood/following{/other_user}","gists_url":"https://api.github.com/users/timrwood/gists{/gist_id}","starred_url":"https://api.github.com/users/timrwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrwood/subscriptions","organizations_url":"https://api.github.com/users/timrwood/orgs","repos_url":"https://api.github.com/users/timrwood/repos","events_url":"https://api.github.com/users/timrwood/events{/privacy}","received_events_url":"https://api.github.com/users/timrwood/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/moment/moment-timezone/labels/do-not-merge","name":"do-not-merge","color":"e11d21"},{"url":"https://api.github.com/repos/moment/moment-timezone/labels/Up-For-Grabs","name":"Up-For-Grabs","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-08T16:17:35Z","updated_at":"2016-03-08T17:38:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/moment/moment-timezone/pulls/310","html_url":"https://github.com/moment/moment-timezone/pull/310","diff_url":"https://github.com/moment/moment-timezone/pull/310.diff","patch_url":"https://github.com/moment/moment-timezone/pull/310.patch"},"body":"This addresses #298 by converting the source into smaller es6 modules.\r\n\r\nThis is not ready to merge yet. Here are the outstanding tasks.\r\n\r\nSome of this work can probably be done in parallel. If you want to help out, edit the description or leave a comment about which task you are working on, then open a PR to the [es6](https://github.com/moment/moment-timezone/tree/es6) branch.\r\n\r\n- [x] Convert source and tests to es6 modules. @timrwood\r\n- [ ] Convert [tests/moment-timezone/default.js](https://github.com/moment/moment-timezone/blob/develop/tests/moment-timezone/default.js) to es6.\r\n- [ ] Convert [tests/moment-timezone/manipulate.js](https://github.com/moment/moment-timezone/blob/develop/tests/moment-timezone/manipulate.js) to es6.\r\n- [ ] Convert [tests/moment-timezone/parse.js](https://github.com/moment/moment-timezone/blob/develop/tests/moment-timezone/parse.js) to es6.\r\n- [ ] Convert [tests/moment-timezone/utc.js](https://github.com/moment/moment-timezone/blob/develop/tests/moment-timezone/utc.js) to es6.\r\n- [ ] Update grunt tasks to es6.\r\n- [ ] Update `grunt data-tests` to generate correct tests. @timrwood\r\n- [ ] Update `grunt data-pack` to output `src/data/packed.js` and `src/data/packed-2010-2020.js`.  @timrwood\r\n- [ ] Move `tasks/population.json` to an es6 module in `src/data/population.js`.\r\n- [ ] Move `data/meta/latest.json` to `src/data/meta.js`.\r\n- [ ] Discuss removing `data/**/20*.json` files.\r\n- [ ] Build `src` into `build` for different environments. (es6, globals, amd, commonjs, umd).\r\n- [ ] Point `package.json` and `bower.json` to the correct file entry points.\r\n- [ ] Figure out how to run tests in a browser. sindresorhus/ava#24"},"comment":{"url":"https://api.github.com/repos/moment/moment-timezone/issues/comments/193883226","html_url":"https://github.com/moment/moment-timezone/pull/310#issuecomment-193883226","issue_url":"https://api.github.com/repos/moment/moment-timezone/issues/310","id":193883226,"user":{"login":"mj1856","id":1396388,"avatar_url":"https://avatars.githubusercontent.com/u/1396388?v=3","gravatar_id":"","url":"https://api.github.com/users/mj1856","html_url":"https://github.com/mj1856","followers_url":"https://api.github.com/users/mj1856/followers","following_url":"https://api.github.com/users/mj1856/following{/other_user}","gists_url":"https://api.github.com/users/mj1856/gists{/gist_id}","starred_url":"https://api.github.com/users/mj1856/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mj1856/subscriptions","organizations_url":"https://api.github.com/users/mj1856/orgs","repos_url":"https://api.github.com/users/mj1856/repos","events_url":"https://api.github.com/users/mj1856/events{/privacy}","received_events_url":"https://api.github.com/users/mj1856/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T17:38:02Z","updated_at":"2016-03-08T17:38:02Z","body":"Looking good!  I'll have to do a more detailed review for more specific feedback, but glad to see this happening!"}}