Grunt Tasks & Boilerplates
Last updated 8 years ago by jodybrewster .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grunt-plates 
SYNC missed versions from official npm registry.

Grunt Tasks & Boilerplate Initializer tool.

Getting Started

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.

Not implemented: init

Creates a bare html5 boilerplate.

Not implemented: init:example

Creates a boilerplate which contains the example file.

Not implemented: init:backbone

Creates a backbone boilerplate.

Not implemented: init:bb-module

Creates a new backbone module in the app/modules directory.


These commands help you maintain your project.


Ensures all your code conforms to JSHint.

Not implemented:list

Shows a tree of your application's modules and dependencies.


These commmands help you build your application.


Lints all your JavaScript, compiles all your templates to JST (JavaScript Templates), builds your application using RequireJS build tool (figures out dependencies and concatenates all files), and then finally concatenates the templates and application together. This task also swaps out RequireJS for Almond (signficantly smaller filesize AMD manager).


Everything that debug command does, except the final tasks here are minified CSS and minified JavaScript.


Cleans files and directories

Not implemented:handlebars

Compiles handlebars templates - this requires setup.

Not implemented:jst

Compiles all templates as underscore template functions and outputs them to dist/debug/templates.js.


Compiles LESS stylesheets.


Minifies your CSS into dist/release/index.css.


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 grunt.js file.

Not implemented:server

Will by default run with normal files perfect for development and debugging.

Not implemented:server:debug

This command serves the same files excepts that your application is mapped to the dist/debug directory. This is mostly useful for detecting issues with the build, since files are not minified.

Not implemented:server:release

This command will serve the same was debug except mapping to dist/release instead. This setup is how your application should be deployed.

Not implemented: templatize


Copyright (c) 2012 Jody Brewster (@jodybrewster)
Licensed under the MIT license.

Current Tags

  • 0.0.2                                ...           latest (8 years ago)

1 Versions

  • 0.0.2                                ...           8 years ago
Maintainers (1)
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 2
Dependencies (12)
Dev Dependencies (1)
Dependents (2)

Copyright 2014 - 2017 © |