yeoman / generator-backbone

Scaffold out a Backbone.js project
http://yeoman.io
638 stars 157 forks source link

Fixes bower install on app generator #383

Closed ruyadorno closed 8 years ago

ruyadorno commented 8 years ago

Bower install has been broken for a long time in this generator, as reported on #298 - I managed to track it down to the composition with the Mocha generator, that generator also creates a .bowerrc file that it leaves on the test folder, Bower was using that folder as the main application folder because it prioritizes config files upwards in the directory tree.

This PR fixes the issue by setting Bower config arguments on bowerInstall

@SBoudrias maybe you can find some time to review it? :blush: