1.0.0 • Published 10 years ago

grunt-exit v1.0.0

Weekly downloads
6
License
-
Repository
github
Last release
10 years ago

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 this README.md) file
  • git commit changes
  • npm publish
  • push to github (to update there as well)

TODO