Grunt Tasks & Boilerplates
npm install grunt-plates
|1||downloads in the last month|
|Version||0.0.2 last updated 2 years ago|
|Dependencies (12)||grunt, rimraf, less, clean-css, requirejs, express, async, coffee-script, adm-zip, stylus, underscore, ejs|
Grunt Tasks & Boilerplate Initializer tool.
Install this Grunt plugin with:
npm install -g plates
All commands are prefixed with
plates in your terminal. For example the command
init below would be executed like this:
$ plates init
These commands will build out files for you.
Creates a bare html5 boilerplate.
Creates a boilerplate which contains the example file.
Creates a backbone boilerplate.
Creates a new backbone module in the
These commands help you maintain your project.
Ensures all your code conforms to JSHint.
Shows a tree of your application's modules and dependencies.
These commmands help you build your application.
Cleans files and directories
Compiles handlebars templates - this requires setup.
Compiles all templates as underscore template functions and outputs them to
Compiles LESS stylesheets.
Minifies your CSS into
Compiles your CS files into JS
Compiles your stylus files into css
Zips a directory or files
Copies files and directories
Builds out your application using the defaults specified into the root
Will by default run with normal files perfect for development and debugging.
This command serves the same files excepts that your application is mapped to
dist/debug directory. This is mostly useful for detecting issues with the
build, since files are not minified.
This command will serve the same was debug except mapping to
instead. This setup is how your application should be deployed.
Copyright (c) 2012 Jody Brewster (@jodybrewster)
Licensed under the MIT license.