Bower

March 30, 2015   

Bower is a package manager for the static files.

Install

sudo npm install -g bower

Setup

Tow files needed in order to use it: bower.json used to specify the dependencies

{
    "name": "Project_name",
    "version": "0.0.1",
    "main": "www/static/css/style.css",
    "ignore": [
    ],
    "dependencies": {
        "foundation": "~5.4.7"
    },
    "devDependencies": {
    },
    "private": true
}

.bowerrc used to select where to download files

{
      "directory": "www/static/theme/",
      "analytics": false
}

Usage:

In the same folder that has bower.json type this

bower install


comments powered by Disqus