This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

grunt-staged2

1.0.0 • Public • Published

grunt-staged2

Run grunt tasks with only those source files staged for code commit. This task is based on the original grunt-staged, but was updated to support Grunt 1.x and update dependencies.

Getting Started

Install the plugin:

npm install -D grunt-staged2

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-staged2');

The "staged" task

The staged task doesn't require any special configuration. To use it, just add staged as the first argument when running other tasks.

grunt.registerTask('lint', [
  'staged:eslint:default',
]);

Package Sidebar

Install

npm i grunt-staged2

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.41 kB

Total Files

5

Last publish

Collaborators

  • jgeurts