docpad-plugin-grunt

Run Grunt tasks when building with DocPad.

npm install docpad-plugin-grunt
3 downloads in the last day
46 downloads in the last week
244 downloads in the last month

Grunt Plugin for DocPad

Build Status NPM version Bitdeli Badge

Run Grunt tasks when building with DocPad.

Install

$ docpad install grunt

Configure

By default, the plugin will run the default tasks associated with Grunt during the writeAfter event with DocPad. This is equivilant to adding the following configuration to your DocPad configuration file:

  plugins:
    grunt:
      writeAfter: []
      writeBefore: false
      renderBefore: false
      renderAfter: false
      generateBefore: false
      generateAfter: false

The following will run the "cssmin" and "uglify" tasks from Grunt during the generateAfter event:

  plugins:
    grunt:
      writeAfter: false
      generateAfter: ["cssmin", "uglify"]

History

You can discover the history inside the HISTORY.md file

Contributing

You can discover the contributing instructions inside the CONTRIBUTING.md file

License

Licensed under the incredibly permissive MIT License
Copyright © 2013 Rob Loach

npm loves you