Skip to content
Calls node process.exit - to ensure things like code coverage output properly, even on Windows
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
tasks
.gitignore
CHANGELOG.md
Gruntfile.js
LICENSE.md
README.md
package.json

README.md

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

Something went wrong with that request. Please try again.