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

Installing unnecessary modules #16

Closed 5ay3h closed 9 years ago

5ay3h commented 9 years ago

First of all, very useful package; Good work :+1:

The issue: When the program list "dependent modules", it treats commented require-s statements, and JSON loading processes ("require('./list.json')") as dependent packages - this shouldn't happen.

joakimbeng commented 9 years ago

This plugin does not look at your code at all. The plugin only looks for a package.json or a bower.json in the piped stream and calls npm install or bower install accordingly.