Bower - Specify Components Directory

You would think that Bower would allow you to specify where you want the components to be installed from within your bower.json. Well, just like me you would have thought wrong...

As I found out you need to create a .bowerrc file in your projects root. You can find the specs for this file on the Bower Config page.

In my example I only needed to specify where I would like Bower to install the dependencies.

  "directory" : "public/components"

Now when I run the 'bower install' command I will have my dependencies right right where I want them.