Bower can be configured using JSON in a .bowerrc file. For example:
{
"directory": "app/components/",
"analytics": false,
"timeout": 120000,
"registry": {
"search": [
"http://localhost:8000",
"https://bower.herokuapp.com"
]
}
}
Placement & Order
The config is obtained by merging multiple configurations by this order of importance:
CLI arguments via --config
Environment variables Local .bowerrc located in the current working directory All .bowerrc files upwards