grunt-prevent-debugger
Grunt task for checking that debugger don't make it into committed code
Last updated 5 years ago by fpereira1 .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grunt-prevent-debugger 
SYNC missed versions from official npm registry.

grunt-prevent-debugger

npm version Build Status

Grunt plugin for preventing you from accidentally comitting a debugger into your project.

Getting Started

This plugin requires Grunt ^0.4.5

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-prevent-debugger --save-dev

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

grunt.loadNpmTasks('grunt-prevent-debugger');

prevent-debugger task

Run this task with the grunt prevent-debugger command.

Task targets, files and options may be specified according to the grunt Configuring tasks guide.

Examples

Simple:

"prevent-debugger": {
  files: [
    'test/**/*.js',
    '!test/ngScenario/DebuggerHelper.js' // ignore this guy
  ]
}

Running the Tests

Run grunt test.

License

BSD

Current Tags

  • 0.0.10                                ...           latest (5 years ago)

5 Versions

  • 0.0.10                                ...           5 years ago
  • 0.0.9                                ...           5 years ago
  • 0.0.8                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (7)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |