node package manager


Grunt tasks for working with the modest templating engine


Grunt task for working with the modest templating engine.

  1. Change directories to the root directory of your project.
  2. npm install grunt-modest
  3. Add the following line to your Gruntfile.js

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.


modest : {
  all : {
    src : ['html/**/']

The foregoing example will process all the directories under the "html" directory.