I'm making a new project that uses bower from twitter. I created a component.json
to maintain all my dependency like jquery. Then I run bower install
that installs everything in a folder named components
. But I need to install the components in a different folder, e.g. public/components
.
I have tried editing my components.json into:
{
"name": "test",
"version": "1.0.0",
"directory": "public/",
"dependencies": {
"jquery": "*"
}
}
or:
{
"name": "test",
"version": "1.0.0",
"componentsDirectory": "public/",
"dependencies": {
"jquery": "*"
}
}
as shown in https://github.com/twitter/bower/pull/94 but it doesn't work.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…