grunt-modest

Grunt tasks for working with the modest templating engine

npm install grunt-modest
1 downloads in the last week
6 downloads in the last month

grunt-modest

Build Status

Grunt task for working with the modest templating engine.

Installation

  1. Change directories to the root directory of your project.
  2. npm install grunt-modest
  3. 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.

npm loves you