1. create the file bower.json like:
{ "name": "sunwebsocket", "version": "1.0.0-SNAPSHOT", "directory": "assets/lib/", "componentsDirectory": "assets/lib/", "dependencies": { "curl": "~0.8", "msgs": "#dev", "poly": "~0.5", "sockjs": "~0.3", "knockout": "git://github.com/bowerjs/knockout.git#~2.3", "bootstrap": "git://github.com/bowerjs/bootstrap.git#~2.3", "jquery": "git://github.com/bowerjs/jquery.git#~1.8", "html5shiv": "~3.6", "stomp": "stomp-websocket#~2.3.1" }, "ignore": ["test"] }
note: "directory" and "componentsDirectory" are we are going to change
2. create file .bowerrc like:
{ "directory": "assets/lib/", "componentsDirectory": "assets/lib/" }
note: "directory" and "componentsDirectory" are we are going to change,
and the path is the same as the above.
that's all