{"action":"opened","number":3331,"pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/3331","id":58536172,"html_url":"https://github.com/babel/babel/pull/3331","diff_url":"https://github.com/babel/babel/pull/3331.diff","patch_url":"https://github.com/babel/babel/pull/3331.patch","issue_url":"https://api.github.com/repos/babel/babel/issues/3331","number":3331,"state":"open","locked":false,"title":"Support passing options to presets.","user":{"login":"loganfsmyth","id":132260,"avatar_url":"https://avatars.githubusercontent.com/u/132260?v=3","gravatar_id":"","url":"https://api.github.com/users/loganfsmyth","html_url":"https://github.com/loganfsmyth","followers_url":"https://api.github.com/users/loganfsmyth/followers","following_url":"https://api.github.com/users/loganfsmyth/following{/other_user}","gists_url":"https://api.github.com/users/loganfsmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/loganfsmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganfsmyth/subscriptions","organizations_url":"https://api.github.com/users/loganfsmyth/orgs","repos_url":"https://api.github.com/users/loganfsmyth/repos","events_url":"https://api.github.com/users/loganfsmyth/events{/privacy}","received_events_url":"https://api.github.com/users/loganfsmyth/received_events","type":"User","site_admin":false},"body":"To get the conversation started :)\r\n\r\nLooking at the ecosystem of presets of that has grown for Babel 6 so far, this seems like it would be a welcome feature. \r\n\r\n* We've got a bunch of presets for different Node versions, and that'll only grow. Why not a single one with a version options?\r\n* We've got a copy of `es2015` with `loose`\r\n* We've got several copies of `es2015` without CommonJS\r\n\r\nand plenty more. ","created_at":"2016-02-07T01:56:43Z","updated_at":"2016-02-07T01:56:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/babel/babel/pulls/3331/commits","review_comments_url":"https://api.github.com/repos/babel/babel/pulls/3331/comments","review_comment_url":"https://api.github.com/repos/babel/babel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/babel/babel/issues/3331/comments","statuses_url":"https://api.github.com/repos/babel/babel/statuses/94c29e9bdaf3423597c9de3369d94ef433a6a57a","head":{"label":"loganfsmyth:preset-options","ref":"preset-options","sha":"94c29e9bdaf3423597c9de3369d94ef433a6a57a","user":{"login":"loganfsmyth","id":132260,"avatar_url":"https://avatars.githubusercontent.com/u/132260?v=3","gravatar_id":"","url":"https://api.github.com/users/loganfsmyth","html_url":"https://github.com/loganfsmyth","followers_url":"https://api.github.com/users/loganfsmyth/followers","following_url":"https://api.github.com/users/loganfsmyth/following{/other_user}","gists_url":"https://api.github.com/users/loganfsmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/loganfsmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganfsmyth/subscriptions","organizations_url":"https://api.github.com/users/loganfsmyth/orgs","repos_url":"https://api.github.com/users/loganfsmyth/repos","events_url":"https://api.github.com/users/loganfsmyth/events{/privacy}","received_events_url":"https://api.github.com/users/loganfsmyth/received_events","type":"User","site_admin":false},"repo":{"id":34920245,"name":"babel","full_name":"loganfsmyth/babel","owner":{"login":"loganfsmyth","id":132260,"avatar_url":"https://avatars.githubusercontent.com/u/132260?v=3","gravatar_id":"","url":"https://api.github.com/users/loganfsmyth","html_url":"https://github.com/loganfsmyth","followers_url":"https://api.github.com/users/loganfsmyth/followers","following_url":"https://api.github.com/users/loganfsmyth/following{/other_user}","gists_url":"https://api.github.com/users/loganfsmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/loganfsmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganfsmyth/subscriptions","organizations_url":"https://api.github.com/users/loganfsmyth/orgs","repos_url":"https://api.github.com/users/loganfsmyth/repos","events_url":"https://api.github.com/users/loganfsmyth/events{/privacy}","received_events_url":"https://api.github.com/users/loganfsmyth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/loganfsmyth/babel","description":"Babel is a compiler for writing next generation JavaScript.","fork":true,"url":"https://api.github.com/repos/loganfsmyth/babel","forks_url":"https://api.github.com/repos/loganfsmyth/babel/forks","keys_url":"https://api.github.com/repos/loganfsmyth/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loganfsmyth/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loganfsmyth/babel/teams","hooks_url":"https://api.github.com/repos/loganfsmyth/babel/hooks","issue_events_url":"https://api.github.com/repos/loganfsmyth/babel/issues/events{/number}","events_url":"https://api.github.com/repos/loganfsmyth/babel/events","assignees_url":"https://api.github.com/repos/loganfsmyth/babel/assignees{/user}","branches_url":"https://api.github.com/repos/loganfsmyth/babel/branches{/branch}","tags_url":"https://api.github.com/repos/loganfsmyth/babel/tags","blobs_url":"https://api.github.com/repos/loganfsmyth/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loganfsmyth/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loganfsmyth/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/loganfsmyth/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loganfsmyth/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/loganfsmyth/babel/languages","stargazers_url":"https://api.github.com/repos/loganfsmyth/babel/stargazers","contributors_url":"https://api.github.com/repos/loganfsmyth/babel/contributors","subscribers_url":"https://api.github.com/repos/loganfsmyth/babel/subscribers","subscription_url":"https://api.github.com/repos/loganfsmyth/babel/subscription","commits_url":"https://api.github.com/repos/loganfsmyth/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/loganfsmyth/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/loganfsmyth/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/loganfsmyth/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/loganfsmyth/babel/contents/{+path}","compare_url":"https://api.github.com/repos/loganfsmyth/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loganfsmyth/babel/merges","archive_url":"https://api.github.com/repos/loganfsmyth/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loganfsmyth/babel/downloads","issues_url":"https://api.github.com/repos/loganfsmyth/babel/issues{/number}","pulls_url":"https://api.github.com/repos/loganfsmyth/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/loganfsmyth/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/loganfsmyth/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loganfsmyth/babel/labels{/name}","releases_url":"https://api.github.com/repos/loganfsmyth/babel/releases{/id}","deployments_url":"https://api.github.com/repos/loganfsmyth/babel/deployments","created_at":"2015-05-01T19:33:26Z","updated_at":"2015-05-01T19:33:28Z","pushed_at":"2016-02-07T01:56:07Z","git_url":"git://github.com/loganfsmyth/babel.git","ssh_url":"git@github.com:loganfsmyth/babel.git","clone_url":"https://github.com/loganfsmyth/babel.git","svn_url":"https://github.com/loganfsmyth/babel","homepage":"https://babeljs.io/","size":13025,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"babel:master","ref":"master","sha":"f9f8ad6eff7a17df1517a3d7ae51556645714608","user":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"repo":{"id":24560307,"name":"babel","full_name":"babel/babel","owner":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/babel/babel","description":"Babel is a compiler for writing next generation JavaScript.","fork":false,"url":"https://api.github.com/repos/babel/babel","forks_url":"https://api.github.com/repos/babel/babel/forks","keys_url":"https://api.github.com/repos/babel/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/babel/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/babel/babel/teams","hooks_url":"https://api.github.com/repos/babel/babel/hooks","issue_events_url":"https://api.github.com/repos/babel/babel/issues/events{/number}","events_url":"https://api.github.com/repos/babel/babel/events","assignees_url":"https://api.github.com/repos/babel/babel/assignees{/user}","branches_url":"https://api.github.com/repos/babel/babel/branches{/branch}","tags_url":"https://api.github.com/repos/babel/babel/tags","blobs_url":"https://api.github.com/repos/babel/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/babel/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/babel/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/babel/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/babel/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/babel/babel/languages","stargazers_url":"https://api.github.com/repos/babel/babel/stargazers","contributors_url":"https://api.github.com/repos/babel/babel/contributors","subscribers_url":"https://api.github.com/repos/babel/babel/subscribers","subscription_url":"https://api.github.com/repos/babel/babel/subscription","commits_url":"https://api.github.com/repos/babel/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/babel/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/babel/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/babel/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/babel/babel/contents/{+path}","compare_url":"https://api.github.com/repos/babel/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/babel/babel/merges","archive_url":"https://api.github.com/repos/babel/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/babel/babel/downloads","issues_url":"https://api.github.com/repos/babel/babel/issues{/number}","pulls_url":"https://api.github.com/repos/babel/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/babel/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/babel/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/babel/babel/labels{/name}","releases_url":"https://api.github.com/repos/babel/babel/releases{/id}","deployments_url":"https://api.github.com/repos/babel/babel/deployments","created_at":"2014-09-28T13:38:23Z","updated_at":"2016-02-07T00:33:07Z","pushed_at":"2016-02-07T00:08:36Z","git_url":"git://github.com/babel/babel.git","ssh_url":"git@github.com:babel/babel.git","clone_url":"https://github.com/babel/babel.git","svn_url":"https://github.com/babel/babel","homepage":"https://babeljs.io/","size":13782,"stargazers_count":13584,"watchers_count":13584,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":887,"mirror_url":null,"open_issues_count":189,"forks":887,"open_issues":189,"watchers":13584,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/babel/babel/pulls/3331"},"html":{"href":"https://github.com/babel/babel/pull/3331"},"issue":{"href":"https://api.github.com/repos/babel/babel/issues/3331"},"comments":{"href":"https://api.github.com/repos/babel/babel/issues/3331/comments"},"review_comments":{"href":"https://api.github.com/repos/babel/babel/pulls/3331/comments"},"review_comment":{"href":"https://api.github.com/repos/babel/babel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/babel/babel/pulls/3331/commits"},"statuses":{"href":"https://api.github.com/repos/babel/babel/statuses/94c29e9bdaf3423597c9de3369d94ef433a6a57a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":66,"deletions":28,"changed_files":3}}