A bridge to extend grunt.

npm install spm-grunt
7 downloads in the last day
86 downloads in the last week
351 downloads in the last month


A bridge between spm and grunt.

It extends grunt.

invokeTask(name, options)

var grunt = require('spm-grunt');
grunt.invokeTask('build', {
    fallback: function(grunt) {

It will search the gruntfiles and detect if the task name in the gruntfile. If the task is in the gruntfile, it will run the task, if not, it will call the fallback function.


Load tasks in the global NODE_PATH. Just like loadNpmTasks, it can load task collections.


Aug 14, 2013 0.1.7

Pass encoding to grunt.file.

June 6, 2013 0.1.6

Fix loadGlobalTask get wrong path from dependencies

May 30, 2013 0.1.5

Fix when NODE_PATH has multiple values.

May 2, 2013 0.1.4

Fallback if the gruntfile has errors.

April 23, 2013 0.1.3

Show warn and error message.

April 15, 2013 0.1.2

Fix on pathLog.

April 12, 2013 0.1.1

Patch log right.

April 11, 2013 0.1.0

First version.

npm loves you