{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/tslib/pulls/comments/86935400","pull_request_review_id":7567002,"id":86935400,"diff_hunk":"@@ -27,5 +27,6 @@\n         \"url\": \"https://github.com/Microsoft/tslib.git\"\n     },\n     \"main\": \"tslib.js\",\n+    \"jsnext:main\": \"tslib.es6.js\",","path":"package.json","position":4,"original_position":4,"commit_id":"0d1a7368fb5ddc8c98ef583a12b6abae1ba125e0","original_commit_id":"0d1a7368fb5ddc8c98ef583a12b6abae1ba125e0","user":{"login":"imcotton","id":149541,"avatar_url":"https://avatars.githubusercontent.com/u/149541?v=3","gravatar_id":"","url":"https://api.github.com/users/imcotton","html_url":"https://github.com/imcotton","followers_url":"https://api.github.com/users/imcotton/followers","following_url":"https://api.github.com/users/imcotton/following{/other_user}","gists_url":"https://api.github.com/users/imcotton/gists{/gist_id}","starred_url":"https://api.github.com/users/imcotton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imcotton/subscriptions","organizations_url":"https://api.github.com/users/imcotton/orgs","repos_url":"https://api.github.com/users/imcotton/repos","events_url":"https://api.github.com/users/imcotton/events{/privacy}","received_events_url":"https://api.github.com/users/imcotton/received_events","type":"User","site_admin":false},"body":"Maybe use `module` instead of `jsnext:main` to achieve same behavior, but less configuration since the `module` has been set to `true` as default in **rollup-plugin-node-resolve**.","created_at":"2016-11-08T07:25:43Z","updated_at":"2016-11-08T07:25:43Z","html_url":"https://github.com/Microsoft/tslib/pull/5#discussion_r86935400","pull_request_url":"https://api.github.com/repos/Microsoft/tslib/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/tslib/pulls/comments/86935400"},"html":{"href":"https://github.com/Microsoft/tslib/pull/5#discussion_r86935400"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/tslib/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/tslib/pulls/5","id":87581346,"html_url":"https://github.com/Microsoft/tslib/pull/5","diff_url":"https://github.com/Microsoft/tslib/pull/5.diff","patch_url":"https://github.com/Microsoft/tslib/pull/5.patch","issue_url":"https://api.github.com/repos/Microsoft/tslib/issues/5","number":5,"state":"open","locked":false,"title":"Add __generator helper to es6 source and populate jsnext:main","user":{"login":"frankwallis","id":4387473,"avatar_url":"https://avatars.githubusercontent.com/u/4387473?v=3","gravatar_id":"","url":"https://api.github.com/users/frankwallis","html_url":"https://github.com/frankwallis","followers_url":"https://api.github.com/users/frankwallis/followers","following_url":"https://api.github.com/users/frankwallis/following{/other_user}","gists_url":"https://api.github.com/users/frankwallis/gists{/gist_id}","starred_url":"https://api.github.com/users/frankwallis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankwallis/subscriptions","organizations_url":"https://api.github.com/users/frankwallis/orgs","repos_url":"https://api.github.com/users/frankwallis/repos","events_url":"https://api.github.com/users/frankwallis/events{/privacy}","received_events_url":"https://api.github.com/users/frankwallis/received_events","type":"User","site_admin":false},"body":"This enables support for using the `importHelpers` option with `module: 'es6'` and then bundling the output with rollup, which automatically strips out any unused helper functions.\n","created_at":"2016-09-30T23:32:14Z","updated_at":"2016-11-08T07:25:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d28949f44299a6a93a30eed722760ba35c4bc3a4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/tslib/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Microsoft/tslib/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Microsoft/tslib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/tslib/issues/5/comments","statuses_url":"https://api.github.com/repos/Microsoft/tslib/statuses/0d1a7368fb5ddc8c98ef583a12b6abae1ba125e0","head":{"label":"frankwallis:master","ref":"master","sha":"0d1a7368fb5ddc8c98ef583a12b6abae1ba125e0","user":{"login":"frankwallis","id":4387473,"avatar_url":"https://avatars.githubusercontent.com/u/4387473?v=3","gravatar_id":"","url":"https://api.github.com/users/frankwallis","html_url":"https://github.com/frankwallis","followers_url":"https://api.github.com/users/frankwallis/followers","following_url":"https://api.github.com/users/frankwallis/following{/other_user}","gists_url":"https://api.github.com/users/frankwallis/gists{/gist_id}","starred_url":"https://api.github.com/users/frankwallis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankwallis/subscriptions","organizations_url":"https://api.github.com/users/frankwallis/orgs","repos_url":"https://api.github.com/users/frankwallis/repos","events_url":"https://api.github.com/users/frankwallis/events{/privacy}","received_events_url":"https://api.github.com/users/frankwallis/received_events","type":"User","site_admin":false},"repo":{"id":69708670,"name":"tslib","full_name":"frankwallis/tslib","owner":{"login":"frankwallis","id":4387473,"avatar_url":"https://avatars.githubusercontent.com/u/4387473?v=3","gravatar_id":"","url":"https://api.github.com/users/frankwallis","html_url":"https://github.com/frankwallis","followers_url":"https://api.github.com/users/frankwallis/followers","following_url":"https://api.github.com/users/frankwallis/following{/other_user}","gists_url":"https://api.github.com/users/frankwallis/gists{/gist_id}","starred_url":"https://api.github.com/users/frankwallis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankwallis/subscriptions","organizations_url":"https://api.github.com/users/frankwallis/orgs","repos_url":"https://api.github.com/users/frankwallis/repos","events_url":"https://api.github.com/users/frankwallis/events{/privacy}","received_events_url":"https://api.github.com/users/frankwallis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frankwallis/tslib","description":"Runtime library for TypeScript helpers.","fork":true,"url":"https://api.github.com/repos/frankwallis/tslib","forks_url":"https://api.github.com/repos/frankwallis/tslib/forks","keys_url":"https://api.github.com/repos/frankwallis/tslib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frankwallis/tslib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frankwallis/tslib/teams","hooks_url":"https://api.github.com/repos/frankwallis/tslib/hooks","issue_events_url":"https://api.github.com/repos/frankwallis/tslib/issues/events{/number}","events_url":"https://api.github.com/repos/frankwallis/tslib/events","assignees_url":"https://api.github.com/repos/frankwallis/tslib/assignees{/user}","branches_url":"https://api.github.com/repos/frankwallis/tslib/branches{/branch}","tags_url":"https://api.github.com/repos/frankwallis/tslib/tags","blobs_url":"https://api.github.com/repos/frankwallis/tslib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frankwallis/tslib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frankwallis/tslib/git/refs{/sha}","trees_url":"https://api.github.com/repos/frankwallis/tslib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frankwallis/tslib/statuses/{sha}","languages_url":"https://api.github.com/repos/frankwallis/tslib/languages","stargazers_url":"https://api.github.com/repos/frankwallis/tslib/stargazers","contributors_url":"https://api.github.com/repos/frankwallis/tslib/contributors","subscribers_url":"https://api.github.com/repos/frankwallis/tslib/subscribers","subscription_url":"https://api.github.com/repos/frankwallis/tslib/subscription","commits_url":"https://api.github.com/repos/frankwallis/tslib/commits{/sha}","git_commits_url":"https://api.github.com/repos/frankwallis/tslib/git/commits{/sha}","comments_url":"https://api.github.com/repos/frankwallis/tslib/comments{/number}","issue_comment_url":"https://api.github.com/repos/frankwallis/tslib/issues/comments{/number}","contents_url":"https://api.github.com/repos/frankwallis/tslib/contents/{+path}","compare_url":"https://api.github.com/repos/frankwallis/tslib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frankwallis/tslib/merges","archive_url":"https://api.github.com/repos/frankwallis/tslib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frankwallis/tslib/downloads","issues_url":"https://api.github.com/repos/frankwallis/tslib/issues{/number}","pulls_url":"https://api.github.com/repos/frankwallis/tslib/pulls{/number}","milestones_url":"https://api.github.com/repos/frankwallis/tslib/milestones{/number}","notifications_url":"https://api.github.com/repos/frankwallis/tslib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frankwallis/tslib/labels{/name}","releases_url":"https://api.github.com/repos/frankwallis/tslib/releases{/id}","deployments_url":"https://api.github.com/repos/frankwallis/tslib/deployments","created_at":"2016-09-30T23:23:23Z","updated_at":"2016-09-30T23:23:25Z","pushed_at":"2016-10-05T20:09:31Z","git_url":"git://github.com/frankwallis/tslib.git","ssh_url":"git@github.com:frankwallis/tslib.git","clone_url":"https://github.com/frankwallis/tslib.git","svn_url":"https://github.com/frankwallis/tslib","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"a0f0cd6f665f172fd49c6405f8ddeeb71459f175","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":34414315,"name":"tslib","full_name":"Microsoft/tslib","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/tslib","description":"Runtime library for TypeScript helpers.","fork":false,"url":"https://api.github.com/repos/Microsoft/tslib","forks_url":"https://api.github.com/repos/Microsoft/tslib/forks","keys_url":"https://api.github.com/repos/Microsoft/tslib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/tslib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/tslib/teams","hooks_url":"https://api.github.com/repos/Microsoft/tslib/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/tslib/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/tslib/events","assignees_url":"https://api.github.com/repos/Microsoft/tslib/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/tslib/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/tslib/tags","blobs_url":"https://api.github.com/repos/Microsoft/tslib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/tslib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/tslib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/tslib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/tslib/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/tslib/languages","stargazers_url":"https://api.github.com/repos/Microsoft/tslib/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/tslib/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/tslib/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/tslib/subscription","commits_url":"https://api.github.com/repos/Microsoft/tslib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/tslib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/tslib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/tslib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/tslib/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/tslib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/tslib/merges","archive_url":"https://api.github.com/repos/Microsoft/tslib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/tslib/downloads","issues_url":"https://api.github.com/repos/Microsoft/tslib/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/tslib/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/tslib/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/tslib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/tslib/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/tslib/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/tslib/deployments","created_at":"2015-04-22T20:32:42Z","updated_at":"2016-11-04T17:31:47Z","pushed_at":"2016-10-06T20:32:30Z","git_url":"git://github.com/Microsoft/tslib.git","ssh_url":"git@github.com:Microsoft/tslib.git","clone_url":"https://github.com/Microsoft/tslib.git","svn_url":"https://github.com/Microsoft/tslib","homepage":null,"size":46,"stargazers_count":16,"watchers_count":16,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/tslib/pulls/5"},"html":{"href":"https://github.com/Microsoft/tslib/pull/5"},"issue":{"href":"https://api.github.com/repos/Microsoft/tslib/issues/5"},"comments":{"href":"https://api.github.com/repos/Microsoft/tslib/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/tslib/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/tslib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/tslib/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/tslib/statuses/0d1a7368fb5ddc8c98ef583a12b6abae1ba125e0"}}}}
{"actor":{"display_login":"imcotton"}}