Bower

From Code Self Study Wiki
Jump to: navigation, search

Put settings in a .bowerrc file. For example: the directory where things are saved:

{
    "directory": "public/js/vendor/"
}

You can keep your directory out of the Git repo and just use bower install.

// bower.json
{
    "name": "Some Website"
}

Install something like: bower install backbone -S

Then: bower install

or for development only: bower install <some_package> -D