norma-bower

0.3.8 • Public • Published

norma-bower

Bower Package for Norma Build Tool.

To use add the following to your norma.json:

"tasks": {
  "bower": {
    // installs jquery into /out/packages
    "out/packages": {
      "jquery": ""
    },
    // installs slick into /libraries
    "libraries/": {
      "slick": "NewSpring/slick"
    },
    // installs jquery into /bower_components
    "packages": {
      "jquery": ""
    }
  }
}

Any key that is not part of bower's config is assumed a directory to install components. The exception is the key packages which will default to bower_components as the install directory.

You can also add any other bower config into the object and it will be passed along to bower. For a list of possible config items, go here.

Packages will be loaded in from each directory specified (or the packages key), or the dependencies key of a bower.json (devDependenices coming soon!), or both. Norma will merge these if you have both. The packages take the same form in packages as they do in the bower.json file

/norma-bower/

    Package Sidebar

    Install

    npm i norma-bower

    Weekly Downloads

    2

    Version

    0.3.8

    License

    none

    Last publish

    Collaborators

    • bjwiley2
    • richarddubay
    • jbaxleyiii
    • newspring