title: How to include node_modules in a separate browserify vendor bundle
body: <p>I am trying to convert an AngularJS app to use browserify. I have installed all my bower packages in node_modules using napa. Now I want to browserify them into a separate vendor bundle and declare them as 'external' dependencies. I would like to give them aliases, so that I can "require('angular')" instead of "require('angular/angular')", as it seems you can do with externals. </p>
  
  <p>The examples I have seen (e.g. <a href="http://benclinkinbeard.com/posts/external-bundles-for-faster-browserify-builds/">http://benclinkinbeard.com/posts/external-bundles-for-faster-browserify-builds/</a>) all assume that I have downloaed the vendor files into a 'lib' directory. I want to just bundle my vendor files from node_modules. It seems like it should be easy but I can't see how to do it.</p>