Skip to content

RobLoach/docpad-plugin-grunt

Repository files navigation

Grunt Plugin for DocPad

Build Status NPM version NPM downloads Dependency Status Dev Dependency Status

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: []

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

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

The following can be used if you want the default tasks to run but just show a warning if the Gruntfile fails and continue running.

  plugins:
    grunt:
      warnOnError: true

History

Discover the change history by heading on over to the HISTORY.md file.

Contribute

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

Contributors

These amazing people have contributed code to this project:

Become a contributor!

License

Unless stated otherwise all works are:

and licensed under:

About

🐗 Run Grunt.js tasks when building with DocPad

Resources

License

Stars

Watchers

Forks

Packages

No packages published