0

Assume that my working directory is c:\foo\ during the script execution. I would like run bower from there for c:\foo\bar\bower.json file. This is available on npm by running npm install --prefix c:\foo\bar.

Is there any equivalent command in bower?

tugberk
  • 57,477
  • 67
  • 243
  • 335

1 Answers1

1

Add a .bowerrc file to c:\foo\ with the following contents:

{
   "cwd": "bar
}

this will set the working directory for Bower to c:\foo\bar\.

Evan Davis
  • 35,493
  • 6
  • 50
  • 57