0.1.1 • Published 11 years ago
grunt-modest v0.1.1
#grunt-modest
Grunt task for working with the modest templating engine.
###Installation
- Change directories to the root directory of your project.
npm install grunt-modest
- Add the following line to your
Gruntfile.js
grunt.loadNpmTasks('grunt-modest');
###Configuration
Configuration is placed in the grunt.initConfig
section of your Gruntfile.js
file in the modest
object.
modest
is a multitask.
All of the directories in the src
of a target will be processed by modest (adding modest-preview.js
and modest.js
scripts, and compiling -pre
files). See Basic Modest,
Preparing a Directory and Compiling Modest
Code.
Example:
modest : {
all : {
src : ['html/**/']
}
}
The foregoing example will process all the directories under the "html" directory.
0.1.1
11 years ago