slushjs / gulp-install

Automatically install npm and bower packages if package.json or bower.json is found in the gulp file stream respectively
MIT License
106 stars 46 forks source link

add option to pass location of npm repo #19

Closed freeranger closed 8 years ago

freeranger commented 9 years ago

Hi,

It would be great if we could pass this in - I work in an corporate environment behind a firewall so we can't access the real npm repo and instead have an internal proxy,

I can pass the repo to npm on the command line....it would be very useful to be able to specify this for gulp-install too.

jwulf commented 9 years ago

You can do that by running something like:

npm set registry "http://registry.npmjs.org"

joakimbeng commented 8 years ago

Use the new args option for this. (thanks to #29)