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

Support passing arguments to npm install #28

Closed peterjuras closed 8 years ago

peterjuras commented 8 years ago

Currently gulp-install only supports a few arguments like --production and --ignore-scripts.

It would be helpful to have a generic option like "args" to pass in other arguments that are supported by npm install.

crkepler commented 8 years ago

+1 Is there currently a work-around for this?

Case in point, I need to pass in --msvs_version=2013 for some of my clients with Windows (node-gyp). E.g.: npm install --msvs_version=2013

Any suggestions?

peterjuras commented 8 years ago

Check my pull request, you can use my version in the time being.

Sent by Outlook for Android

On Wed, Sep 30, 2015 at 9:14 AM -0700, "crkepler" notifications@github.com wrote: +1 Is there currently a work-around for this?

Case in point, I need to pass in --msvs_version=2013 for some of my clients with Windows (node-gyp). E.g.: npm install --msvs_version=2013

Any suggestions?


Reply to this email directly or view it on GitHub: https://github.com/slushjs/gulp-install/issues/28#issuecomment-144464282

crkepler commented 8 years ago

@peterjuras : It works perfectly!!!

This is exactly what I was looking for. Great work, thanks for your help on this.