1.0.0 • Published 8 years ago

gulp-config-strip-debug v1.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
8 years ago

gulp-config-strip-debug

Build Status

Strip console, alert, and debugger statements from JavaScript code with config-strip-debug

Install

npm install --save-dev gulp-config-strip-debug

Usage

var gulp = require('gulp');
var stripDebug = require('gulp-config-strip-debug');

gulp.task('default', function () {
	return gulp.src('src/app.js')
		.pipe(stripDebug())
		.pipe(gulp.dest('dist'));
});

Testing

For execute the unit tests:

npm test

Coverage

For generate the code coverage this module use the istambul. The code coverage report is generate in coverage/ folder.

Contribute

For contribute with this project, create a fork in github https://github.com/luizdesign/gulp-config-strip-debug.