norma-bower
v0.3.8
Published
Downloads
22
Readme
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