{"action":"closed","number":9024,"pull_request":{"url":"https://api.github.com/repos/npm/npm/pulls/9024","id":40518918,"html_url":"https://github.com/npm/npm/pull/9024","diff_url":"https://github.com/npm/npm/pull/9024.diff","patch_url":"https://github.com/npm/npm/pull/9024.patch","issue_url":"https://api.github.com/repos/npm/npm/issues/9024","number":9024,"state":"closed","locked":false,"title":"install: Add support for --development, installing devDependencies only","user":{"login":"bengl","id":110455,"avatar_url":"https://avatars.githubusercontent.com/u/110455?v=3","gravatar_id":"","url":"https://api.github.com/users/bengl","html_url":"https://github.com/bengl","followers_url":"https://api.github.com/users/bengl/followers","following_url":"https://api.github.com/users/bengl/following{/other_user}","gists_url":"https://api.github.com/users/bengl/gists{/gist_id}","starred_url":"https://api.github.com/users/bengl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bengl/subscriptions","organizations_url":"https://api.github.com/users/bengl/orgs","repos_url":"https://api.github.com/users/bengl/repos","events_url":"https://api.github.com/users/bengl/events{/privacy}","received_events_url":"https://api.github.com/users/bengl/received_events","type":"User","site_admin":false},"body":"This is a re-do of #4791 for `v3.x`.\r\n\r\nThe intention here is to have a CLI flag that complements `--production`. We have several use cases for this, including switching between registries for both sets of dependencies. A test similar to the one for `--production` is included.\r\n\r\nThe discussion on #4791 seemed to be all about the naming of the flag, so here are some alternatives, in case `--development` isn't acceptable:\r\n\r\n* `--not-production`\r\n* `--only=[production,development]`","created_at":"2015-07-22T00:15:21Z","updated_at":"2015-08-14T20:41:10Z","closed_at":"2015-08-14T20:41:10Z","merged_at":null,"merge_commit_sha":"dc23f02f746fb520d8b014cef2b3f842a1d9088e","assignee":null,"milestone":{"url":"https://api.github.com/repos/npm/npm/milestones/37","html_url":"https://github.com/npm/npm/milestones/3.x-next","labels_url":"https://api.github.com/repos/npm/npm/milestones/37/labels","id":1239132,"number":37,"title":"3.x-next","description":"","creator":{"login":"iarna","id":983798,"avatar_url":"https://avatars.githubusercontent.com/u/983798?v=3","gravatar_id":"","url":"https://api.github.com/users/iarna","html_url":"https://github.com/iarna","followers_url":"https://api.github.com/users/iarna/followers","following_url":"https://api.github.com/users/iarna/following{/other_user}","gists_url":"https://api.github.com/users/iarna/gists{/gist_id}","starred_url":"https://api.github.com/users/iarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iarna/subscriptions","organizations_url":"https://api.github.com/users/iarna/orgs","repos_url":"https://api.github.com/users/iarna/repos","events_url":"https://api.github.com/users/iarna/events{/privacy}","received_events_url":"https://api.github.com/users/iarna/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2015-08-03T20:32:26Z","updated_at":"2015-08-14T20:41:10Z","due_on":"2015-08-13T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/npm/npm/pulls/9024/commits","review_comments_url":"https://api.github.com/repos/npm/npm/pulls/9024/comments","review_comment_url":"https://api.github.com/repos/npm/npm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/npm/npm/issues/9024/comments","statuses_url":"https://api.github.com/repos/npm/npm/statuses/3b14a2c6bc844315be13242f8d62facf8f5c3da0","head":{"label":"bengl:onlydevdep","ref":"onlydevdep","sha":"3b14a2c6bc844315be13242f8d62facf8f5c3da0","user":{"login":"bengl","id":110455,"avatar_url":"https://avatars.githubusercontent.com/u/110455?v=3","gravatar_id":"","url":"https://api.github.com/users/bengl","html_url":"https://github.com/bengl","followers_url":"https://api.github.com/users/bengl/followers","following_url":"https://api.github.com/users/bengl/following{/other_user}","gists_url":"https://api.github.com/users/bengl/gists{/gist_id}","starred_url":"https://api.github.com/users/bengl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bengl/subscriptions","organizations_url":"https://api.github.com/users/bengl/orgs","repos_url":"https://api.github.com/users/bengl/repos","events_url":"https://api.github.com/users/bengl/events{/privacy}","received_events_url":"https://api.github.com/users/bengl/received_events","type":"User","site_admin":false},"repo":{"id":30483094,"name":"npm","full_name":"bengl/npm","owner":{"login":"bengl","id":110455,"avatar_url":"https://avatars.githubusercontent.com/u/110455?v=3","gravatar_id":"","url":"https://api.github.com/users/bengl","html_url":"https://github.com/bengl","followers_url":"https://api.github.com/users/bengl/followers","following_url":"https://api.github.com/users/bengl/following{/other_user}","gists_url":"https://api.github.com/users/bengl/gists{/gist_id}","starred_url":"https://api.github.com/users/bengl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bengl/subscriptions","organizations_url":"https://api.github.com/users/bengl/orgs","repos_url":"https://api.github.com/users/bengl/repos","events_url":"https://api.github.com/users/bengl/events{/privacy}","received_events_url":"https://api.github.com/users/bengl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bengl/npm","description":"a package manager for javascript","fork":true,"url":"https://api.github.com/repos/bengl/npm","forks_url":"https://api.github.com/repos/bengl/npm/forks","keys_url":"https://api.github.com/repos/bengl/npm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bengl/npm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bengl/npm/teams","hooks_url":"https://api.github.com/repos/bengl/npm/hooks","issue_events_url":"https://api.github.com/repos/bengl/npm/issues/events{/number}","events_url":"https://api.github.com/repos/bengl/npm/events","assignees_url":"https://api.github.com/repos/bengl/npm/assignees{/user}","branches_url":"https://api.github.com/repos/bengl/npm/branches{/branch}","tags_url":"https://api.github.com/repos/bengl/npm/tags","blobs_url":"https://api.github.com/repos/bengl/npm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bengl/npm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bengl/npm/git/refs{/sha}","trees_url":"https://api.github.com/repos/bengl/npm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bengl/npm/statuses/{sha}","languages_url":"https://api.github.com/repos/bengl/npm/languages","stargazers_url":"https://api.github.com/repos/bengl/npm/stargazers","contributors_url":"https://api.github.com/repos/bengl/npm/contributors","subscribers_url":"https://api.github.com/repos/bengl/npm/subscribers","subscription_url":"https://api.github.com/repos/bengl/npm/subscription","commits_url":"https://api.github.com/repos/bengl/npm/commits{/sha}","git_commits_url":"https://api.github.com/repos/bengl/npm/git/commits{/sha}","comments_url":"https://api.github.com/repos/bengl/npm/comments{/number}","issue_comment_url":"https://api.github.com/repos/bengl/npm/issues/comments{/number}","contents_url":"https://api.github.com/repos/bengl/npm/contents/{+path}","compare_url":"https://api.github.com/repos/bengl/npm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bengl/npm/merges","archive_url":"https://api.github.com/repos/bengl/npm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bengl/npm/downloads","issues_url":"https://api.github.com/repos/bengl/npm/issues{/number}","pulls_url":"https://api.github.com/repos/bengl/npm/pulls{/number}","milestones_url":"https://api.github.com/repos/bengl/npm/milestones{/number}","notifications_url":"https://api.github.com/repos/bengl/npm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bengl/npm/labels{/name}","releases_url":"https://api.github.com/repos/bengl/npm/releases{/id}","created_at":"2015-02-08T06:26:47Z","updated_at":"2015-02-08T06:26:51Z","pushed_at":"2015-08-01T02:21:32Z","git_url":"git://github.com/bengl/npm.git","ssh_url":"git@github.com:bengl/npm.git","clone_url":"https://github.com/bengl/npm.git","svn_url":"https://github.com/bengl/npm","homepage":"http://www.npmjs.com/","size":23511,"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":"npm:master","ref":"master","sha":"b3c0e86662a1f64132d42df81019e1fbec9d6846","user":{"login":"npm","id":6078720,"avatar_url":"https://avatars.githubusercontent.com/u/6078720?v=3","gravatar_id":"","url":"https://api.github.com/users/npm","html_url":"https://github.com/npm","followers_url":"https://api.github.com/users/npm/followers","following_url":"https://api.github.com/users/npm/following{/other_user}","gists_url":"https://api.github.com/users/npm/gists{/gist_id}","starred_url":"https://api.github.com/users/npm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npm/subscriptions","organizations_url":"https://api.github.com/users/npm/orgs","repos_url":"https://api.github.com/users/npm/repos","events_url":"https://api.github.com/users/npm/events{/privacy}","received_events_url":"https://api.github.com/users/npm/received_events","type":"Organization","site_admin":false},"repo":{"id":321278,"name":"npm","full_name":"npm/npm","owner":{"login":"npm","id":6078720,"avatar_url":"https://avatars.githubusercontent.com/u/6078720?v=3","gravatar_id":"","url":"https://api.github.com/users/npm","html_url":"https://github.com/npm","followers_url":"https://api.github.com/users/npm/followers","following_url":"https://api.github.com/users/npm/following{/other_user}","gists_url":"https://api.github.com/users/npm/gists{/gist_id}","starred_url":"https://api.github.com/users/npm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npm/subscriptions","organizations_url":"https://api.github.com/users/npm/orgs","repos_url":"https://api.github.com/users/npm/repos","events_url":"https://api.github.com/users/npm/events{/privacy}","received_events_url":"https://api.github.com/users/npm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/npm/npm","description":"a package manager for javascript","fork":false,"url":"https://api.github.com/repos/npm/npm","forks_url":"https://api.github.com/repos/npm/npm/forks","keys_url":"https://api.github.com/repos/npm/npm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/npm/npm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/npm/npm/teams","hooks_url":"https://api.github.com/repos/npm/npm/hooks","issue_events_url":"https://api.github.com/repos/npm/npm/issues/events{/number}","events_url":"https://api.github.com/repos/npm/npm/events","assignees_url":"https://api.github.com/repos/npm/npm/assignees{/user}","branches_url":"https://api.github.com/repos/npm/npm/branches{/branch}","tags_url":"https://api.github.com/repos/npm/npm/tags","blobs_url":"https://api.github.com/repos/npm/npm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/npm/npm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/npm/npm/git/refs{/sha}","trees_url":"https://api.github.com/repos/npm/npm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/npm/npm/statuses/{sha}","languages_url":"https://api.github.com/repos/npm/npm/languages","stargazers_url":"https://api.github.com/repos/npm/npm/stargazers","contributors_url":"https://api.github.com/repos/npm/npm/contributors","subscribers_url":"https://api.github.com/repos/npm/npm/subscribers","subscription_url":"https://api.github.com/repos/npm/npm/subscription","commits_url":"https://api.github.com/repos/npm/npm/commits{/sha}","git_commits_url":"https://api.github.com/repos/npm/npm/git/commits{/sha}","comments_url":"https://api.github.com/repos/npm/npm/comments{/number}","issue_comment_url":"https://api.github.com/repos/npm/npm/issues/comments{/number}","contents_url":"https://api.github.com/repos/npm/npm/contents/{+path}","compare_url":"https://api.github.com/repos/npm/npm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/npm/npm/merges","archive_url":"https://api.github.com/repos/npm/npm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/npm/npm/downloads","issues_url":"https://api.github.com/repos/npm/npm/issues{/number}","pulls_url":"https://api.github.com/repos/npm/npm/pulls{/number}","milestones_url":"https://api.github.com/repos/npm/npm/milestones{/number}","notifications_url":"https://api.github.com/repos/npm/npm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/npm/npm/labels{/name}","releases_url":"https://api.github.com/repos/npm/npm/releases{/id}","created_at":"2009-09-29T17:21:24Z","updated_at":"2015-08-14T15:33:55Z","pushed_at":"2015-08-14T20:06:10Z","git_url":"git://github.com/npm/npm.git","ssh_url":"git@github.com:npm/npm.git","clone_url":"https://github.com/npm/npm.git","svn_url":"https://github.com/npm/npm","homepage":"http://www.npmjs.com/","size":76723,"stargazers_count":6796,"watchers_count":6796,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1400,"mirror_url":null,"open_issues_count":1041,"forks":1400,"open_issues":1041,"watchers":6796,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/npm/npm/pulls/9024"},"html":{"href":"https://github.com/npm/npm/pull/9024"},"issue":{"href":"https://api.github.com/repos/npm/npm/issues/9024"},"comments":{"href":"https://api.github.com/repos/npm/npm/issues/9024/comments"},"review_comments":{"href":"https://api.github.com/repos/npm/npm/pulls/9024/comments"},"review_comment":{"href":"https://api.github.com/repos/npm/npm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/npm/npm/pulls/9024/commits"},"statuses":{"href":"https://api.github.com/repos/npm/npm/statuses/3b14a2c6bc844315be13242f8d62facf8f5c3da0"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":14,"review_comments":0,"commits":9,"additions":369,"deletions":9,"changed_files":12}}