{"action":"created","issue":{"url":"https://api.github.com/repos/tj/n/issues/251","labels_url":"https://api.github.com/repos/tj/n/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/tj/n/issues/251/comments","events_url":"https://api.github.com/repos/tj/n/issues/251/events","html_url":"https://github.com/tj/n/issues/251","id":64686836,"number":251,"title":"package.json Version Configuration","user":{"login":"joezimjs","id":1313898,"avatar_url":"https://avatars.githubusercontent.com/u/1313898?v=3","gravatar_id":"","url":"https://api.github.com/users/joezimjs","html_url":"https://github.com/joezimjs","followers_url":"https://api.github.com/users/joezimjs/followers","following_url":"https://api.github.com/users/joezimjs/following{/other_user}","gists_url":"https://api.github.com/users/joezimjs/gists{/gist_id}","starred_url":"https://api.github.com/users/joezimjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joezimjs/subscriptions","organizations_url":"https://api.github.com/users/joezimjs/orgs","repos_url":"https://api.github.com/users/joezimjs/repos","events_url":"https://api.github.com/users/joezimjs/events{/privacy}","received_events_url":"https://api.github.com/users/joezimjs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-27T04:03:42Z","updated_at":"2015-03-29T21:00:35Z","closed_at":null,"body":"It would be amazing if we could extend `package.json` with some configuration of which version of Node and which version of NPM is used for that project and n would use that configuration to determine which versions it uses. Also add a `--save` flag when loading a version so that n can handle adding the configuration.\r\n\r\nI'm not sure how this would be handled, whether the Node and NPM files would be stored in the project locally or installed globally, but I'm sure you can figure it out. If you install locally, the feature from #185 would work well for invoking Node and NPM, similar to the way you can [use `npm run` to invoke locally installed modules that have binaries](http://www.joezimjs.com/javascript/no-more-global-npm-packages/)."},"comment":{"url":"https://api.github.com/repos/tj/n/issues/comments/87475301","html_url":"https://github.com/tj/n/issues/251#issuecomment-87475301","issue_url":"https://api.github.com/repos/tj/n/issues/251","id":87475301,"user":{"login":"maxrimue","id":7421183,"avatar_url":"https://avatars.githubusercontent.com/u/7421183?v=3","gravatar_id":"","url":"https://api.github.com/users/maxrimue","html_url":"https://github.com/maxrimue","followers_url":"https://api.github.com/users/maxrimue/followers","following_url":"https://api.github.com/users/maxrimue/following{/other_user}","gists_url":"https://api.github.com/users/maxrimue/gists{/gist_id}","starred_url":"https://api.github.com/users/maxrimue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxrimue/subscriptions","organizations_url":"https://api.github.com/users/maxrimue/orgs","repos_url":"https://api.github.com/users/maxrimue/repos","events_url":"https://api.github.com/users/maxrimue/events{/privacy}","received_events_url":"https://api.github.com/users/maxrimue/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T21:00:35Z","updated_at":"2015-03-29T21:00:35Z","body":"@joezimjs What would be the benefits by running different npm versions? Since Node/io.js comes bundled with npm and certain versions aren't compatible with each other, would it be acceptable to only include `n node`? Also, since n already offers the possibility to \"store\" multiple node and io.js versions, why store the binaries in the project folder?"}}