Reputation: 111
So, I'm using bower 1.2.2 to manage my client side libraries for the first time. My app is a simple node app, and I can't decide where to initialize bower. Here's my file structure:
|____gruntfile.js
|____package.json
|____server.js
|____static
| |____index.html
Should I initialize bower in the root next to gruntfile.js and package.json, or should I do it in my static directory. Any advice is greatly appreciated!
Upvotes: 5
Views: 3008
Reputation: 7666
IMHO you can have that on the root where other tasks files are added. This way your bower_components will also reside on the root folder along with node_modules.
Upvotes: 1