Bower

bower

Bower is a package manager which comes in handy for web frontend frameworks like foundation, bootstrap, jquerysemantic ui, …

Setup is simple:

Place a bower.json in your project root

{
  "name": "project-name",
  "version": 0.1,
  "homepage": "https://url.com/username/repo",
  "authors": [
    "famoser <me@myurl.ch>"
  ],
  "description": "A project which gets things done",
  "keywords": [
    "project keywords", "another keyword"
  ],
  "license": "MIT",
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "dependencies": {
    "jquery": "2.2.*",
    "semantic-ui": "*"
  }
}

Let bower do its magic

bower install

This will download / actualize all dependencies specified in the dependencies node.

You may download the tool, after you have set up npm, simply by executing

npm install bower --save-dev

in your console.

Leave a Reply

Your email address will not be published. Required fields are marked *