grunt-bowerful
This grunt plugin enables you to install + concat bower packages directly from grunt file, without needing a seperate component.json
/bower.json
file. Bower packages are specified directly within the grunt file itself.
By default, files are concatenated and written to the dest
location according to type. For example, all .js
files are concatenated to <dest>/<destfile>.js
. Importantly, the order of concatenation is based on the dependency structure indicated by the bower component files. For example, if component X relies on jQuery, X will be included in the file after jQuery.
Getting Started
Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-bowerful
Then add this to your project's Gruntfile.js
:
grunt
And import tasks via:
grunt;
Contributers
- @mitermayer
- @johannestroeger
License
Copyright (c) 2012 Karl Gyllstrom
Licensed under the MIT license.