{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/9354","labels_url":"https://api.github.com/repos/npm/npm/issues/9354/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/9354/comments","events_url":"https://api.github.com/repos/npm/npm/issues/9354/events","html_url":"https://github.com/npm/npm/issues/9354","id":102109850,"number":9354,"title":"browserDependencies","user":{"login":"monolithed","id":803674,"avatar_url":"https://avatars.githubusercontent.com/u/803674?v=3","gravatar_id":"","url":"https://api.github.com/users/monolithed","html_url":"https://github.com/monolithed","followers_url":"https://api.github.com/users/monolithed/followers","following_url":"https://api.github.com/users/monolithed/following{/other_user}","gists_url":"https://api.github.com/users/monolithed/gists{/gist_id}","starred_url":"https://api.github.com/users/monolithed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monolithed/subscriptions","organizations_url":"https://api.github.com/users/monolithed/orgs","repos_url":"https://api.github.com/users/monolithed/repos","events_url":"https://api.github.com/users/monolithed/events{/privacy}","received_events_url":"https://api.github.com/users/monolithed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/browser-dependencies","name":"browser-dependencies","color":"fef2c0"},{"url":"https://api.github.com/repos/npm/npm/labels/feature-request","name":"feature-request","color":"ACE1AF"},{"url":"https://api.github.com/repos/npm/npm/labels/needs-bikeshedding","name":"needs-bikeshedding","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-20T10:27:47Z","updated_at":"2016-01-22T23:18:22Z","closed_at":"2016-01-22T23:18:22Z","body":"> @othiym23 \r\nThere is discussion of a new browserDependencies (name not final, almost certain to change, don't hold us to this, etc.) dependency type to to handle dependencies that are guaranteed to be flat and that will error on conflicts, which may or may not install to somewhere other than node_modules, but this is not generally desirable behavior for regular npm dependencies, configurably or otherwise. Regardless of its eventual semantics, it will not be part of the npm@3 release.\r\n\r\nThere're many different solutions:\r\n\r\n[spm](http://spmjs.io/)\r\n[jam](http://jamjs.org/)\r\n[bower](http://bower.io/)\r\n[component](https://github.com/componentjs/component)\r\n[volo](http://volojs.org/)\r\n[broccoli](https://github.com/broccolijs/broccoli)\r\n~~[npm](https://npmjs.org/) with [browserify](http://browserify.org/)~~\r\n\r\nAll of these solutions are patches for npm. \r\nAnd I really don't understand why frontend is ignored by npm for many years...\r\n\r\nIs there any plan to support `browserDependencies`?\r\nThanks."},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/174084512","html_url":"https://github.com/npm/npm/issues/9354#issuecomment-174084512","issue_url":"https://api.github.com/repos/npm/npm/issues/9354","id":174084512,"user":{"login":"zkat","id":17535,"avatar_url":"https://avatars.githubusercontent.com/u/17535?v=3","gravatar_id":"","url":"https://api.github.com/users/zkat","html_url":"https://github.com/zkat","followers_url":"https://api.github.com/users/zkat/followers","following_url":"https://api.github.com/users/zkat/following{/other_user}","gists_url":"https://api.github.com/users/zkat/gists{/gist_id}","starred_url":"https://api.github.com/users/zkat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkat/subscriptions","organizations_url":"https://api.github.com/users/zkat/orgs","repos_url":"https://api.github.com/users/zkat/repos","events_url":"https://api.github.com/users/zkat/events{/privacy}","received_events_url":"https://api.github.com/users/zkat/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T23:18:22Z","updated_at":"2016-01-22T23:18:22Z","body":"This is a big thing we really want to do, and it's been on our roadmap for a while. Having a straightforward, usable way of using npm for browser-based dependencies is super important.\r\n\r\nUnfortunately, because of other priorities, we don't know when we're going to get to this. As such, I'm going to close this issue, and we'll reopen it in the future when we have a proposal ready for the community to iterate upon."}}