grunt-bower icon indicating copy to clipboard operation
grunt-bower copied to clipboard

Specify bower location

Open farantesrodrigues opened this issue 9 years ago • 1 comments

From what I've read there's no way to do this. It would be great though...

My use case, I'm using one gruntfile to manage two parallel development apps (web and mobile) because some tasks are integrated, but then I build them in an outer scope and thus need to copy dependencies as well. I have two separate bower.json and .bowerrc (2 files x 2 apps). It would be great if grunt-bower task could choose the the .bowerrc / bower.json to read from, similar to what wiredep does.

gruntfile.js
app1/
----/bower.json
----/.bowerrc
app2/
----/bower.json
----/.bowerrc

This way in gruntfile I could use grunt-bower to manage each app. For now bower needs to be in the same space as gruntfile.

farantesrodrigues avatar Oct 13 '15 20:10 farantesrodrigues

+1

jasonlav avatar May 01 '17 15:05 jasonlav