grunt-contrib (currently in alpha)
A collection of general use grunt tasks. All tasks are designed with cross platform support in mind and dependencies that can easily be managed through npm.
Install this grunt plugin next to your project's grunt.js gruntfile with:
npm install grunt-contrib
Then add this line to your project's
Clear files and folders.
Compress files and folders using gzip or zip.
Copy files into another directory.
Compile handlebars templates to JST file.
Compile Jade templates to HTML.
Compile underscore templates to JST file.
Compile LESS files to CSS.
Minify CSS files.
Optimize RequireJS projects using r.js.
Compile Stylus files into CSS.
Compile YUIDoc Documentation.
Unified options retrieval
Help us squash them by submitting an issue that describes how you encountered it; please be as specific as possible including operating system, node, grunt, and grunt-contrib versions.
In lieu of a formal style guide, take care to maintain the existing coding style. Also, add tests for any new or changed functionality and be sure to lint your code.
In order to ensure a consistent configuration style, task submissions should retreive their optional parameters with the included grunt helper, options.
New tasks can be added to the config in
test/grunt.js, please see existing tests for guidance. Currently, testing with grunt is a bit cumbersome--this will be addressed in a future release.
npm install grunt -g npm install npm test
(Until v1.0.0, this will only be updated when major or breaking changes are made)*
2012/06/28 - v0.0.9 - Cleanup release with copy task addition (thanks @ctalkington!)
- 2012/06/12 - v0.0.7 - Add RequireJS task.
- 2012/06/03 - v0.0.5 - Cleanup release with zip task addition.
- 2012/05/01 - v0.0.1 - Alpha release.
Copyright (c) 2012 "Cowboy" Ben Alman & contributors. Licensed under the MIT license.