grunt-exit
v1.0.0
Published
Calls process.exit so things exit properly, i.e. code-coverge, even on Windows. Super simple task!
Downloads
67
Readme
grunt-exit
Super simple task to call node process.exit (i.e. for ensuring code-coverage is written properly, even on Windows)
Getting Started
This plugin requires Grunt ~0.4.1
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-exit --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-exit');
Exit task
Usage Examples
Gruntfile.js
exit: {
normal: {
}
}
Development
See https://npmjs.org/doc/developers.html for notes on publishing npm modules in general.
- run
grunt
to ensure no issues - bump version number in
package.json
- update
CHANGELOG.md
(and potentially thisREADME.md
) file git commit
changesnpm publish
- push to github (to update there as well)