You give a list of npm modules to install -g, and it will install them for you. This is really useful for things like mocha, phantomjs, etc where you already have them globally installed in your local env.
True, you can always just list as devDep and run from ./node_modules/.bin/mocha, but I think this would be cleaner. Also, this setting would enable intelligent caching.
You give a list of npm modules to install -g, and it will install them for you. This is really useful for things like mocha, phantomjs, etc where you already have them globally installed in your local env.
True, you can always just list as devDep and run from
./node_modules/.bin/mocha
, but I think this would be cleaner. Also, this setting would enable intelligent caching.