zont / gulp-bower

MIT License
82 stars 22 forks source link

Distinguish between dependencies and devdependencies #17

Closed sameer-kumar closed 9 years ago

sameer-kumar commented 10 years ago

How can I specify it to work on DEV only dependencies as specified in bower.json file?

danbars commented 9 years ago

Looking at the code, the syntax for passing additional options is like so: bower({cmd:'install'},[[],{production:true}])

This is a little awkward, but it worked for me in order to not-install dev-dependencies. I don't think there is a flag in bower to install only dev dependencies.

zont commented 9 years ago

bower({cmd:'install', production:true})