{"action":"created","issue":{"url":"https://api.github.com/repos/brunch/brunch/issues/991","labels_url":"https://api.github.com/repos/brunch/brunch/issues/991/labels{/name}","comments_url":"https://api.github.com/repos/brunch/brunch/issues/991/comments","events_url":"https://api.github.com/repos/brunch/brunch/issues/991/events","html_url":"https://github.com/brunch/brunch/issues/991","id":91236129,"number":991,"title":"Docs on npm integration","user":{"login":"fny","id":346068,"avatar_url":"https://avatars.githubusercontent.com/u/346068?v=3","gravatar_id":"","url":"https://api.github.com/users/fny","html_url":"https://github.com/fny","followers_url":"https://api.github.com/users/fny/followers","following_url":"https://api.github.com/users/fny/following{/other_user}","gists_url":"https://api.github.com/users/fny/gists{/gist_id}","starred_url":"https://api.github.com/users/fny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fny/subscriptions","organizations_url":"https://api.github.com/users/fny/orgs","repos_url":"https://api.github.com/users/fny/repos","events_url":"https://api.github.com/users/fny/events{/privacy}","received_events_url":"https://api.github.com/users/fny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/brunch/brunch/milestones/11","html_url":"https://github.com/brunch/brunch/milestones/1.9","labels_url":"https://api.github.com/repos/brunch/brunch/milestones/11/labels","id":1064977,"number":11,"title":"1.9","description":"","creator":{"login":"paulmillr","id":574696,"avatar_url":"https://avatars.githubusercontent.com/u/574696?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmillr","html_url":"https://github.com/paulmillr","followers_url":"https://api.github.com/users/paulmillr/followers","following_url":"https://api.github.com/users/paulmillr/following{/other_user}","gists_url":"https://api.github.com/users/paulmillr/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmillr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmillr/subscriptions","organizations_url":"https://api.github.com/users/paulmillr/orgs","repos_url":"https://api.github.com/users/paulmillr/repos","events_url":"https://api.github.com/users/paulmillr/events{/privacy}","received_events_url":"https://api.github.com/users/paulmillr/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2015-04-13T12:39:43Z","updated_at":"2015-07-11T00:22:49Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-06-26T12:18:29Z","updated_at":"2015-07-14T18:08:31Z","closed_at":null,"body":"Reading around the issues pages, it looks like some level of npm integration has been added via deppack, but I'm not sure what I need to do to get it working. This is the closest tidbit I've managed find:\r\n\r\n> At the time of this writing, the Brunch team is hard at work to provide first-class integration with npm, which will greatly ease isomorphic JS and will let us use our node_modules-installed code transparently inside our front-end application code, as modules still. Until then, we’ll need to hack around with the Browserify plugin for Brunch plugin.\r\n\r\nWhat are the steps to get this working? I'm running the Brunch v1.8.3."},"comment":{"url":"https://api.github.com/repos/brunch/brunch/issues/comments/121326286","html_url":"https://github.com/brunch/brunch/issues/991#issuecomment-121326286","issue_url":"https://api.github.com/repos/brunch/brunch/issues/991","id":121326286,"user":{"login":"ondreian","id":1090434,"avatar_url":"https://avatars.githubusercontent.com/u/1090434?v=3","gravatar_id":"","url":"https://api.github.com/users/ondreian","html_url":"https://github.com/ondreian","followers_url":"https://api.github.com/users/ondreian/followers","following_url":"https://api.github.com/users/ondreian/following{/other_user}","gists_url":"https://api.github.com/users/ondreian/gists{/gist_id}","starred_url":"https://api.github.com/users/ondreian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondreian/subscriptions","organizations_url":"https://api.github.com/users/ondreian/orgs","repos_url":"https://api.github.com/users/ondreian/repos","events_url":"https://api.github.com/users/ondreian/events{/privacy}","received_events_url":"https://api.github.com/users/ondreian/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T18:08:31Z","updated_at":"2015-07-14T18:08:31Z","body":"So, I thought it'd be nice to swap from bower to npm in a few of my skeletons this morning, and am having no success getting it to concat the npm modules into the compiled application.\r\n\r\nI have: \r\n  `npm: enabled: true` in my brunch config \r\n  the latest version of brunch downloaded from npm\r\n\r\nThe goal being just to be able to run a `require 'jquery'` and `require 'mithril'` from my node_modules directory in the app.\r\n\r\n[here is a repo with the skeleton in question.](https://github.com/ondreian/brunch-mithril-surge)\r\n\r\nI'm on windows 7, using the latest version of Node.js (though i've tested it with a few versions)."}}