gulp-escomplex-reporter-json
v1.0.0
Published
JSON Reporter for gulp-escomplex
Downloads
17
Maintainers
Readme
Gulp ESComplex Reporter - JSON
A JSON reporter for gulp-escomplex
.
Installing
$ npm install --save-dev gulp-escomplex gulp-escomplex-reporter-json
Usage
var gulp = require('gulp');
var complexity = require('gulp-escomplex');
var reporter = require('gulp-escomplex-reporter-json');
gulp.task('complexity', function () {
return gulp.src([
'index.js',
'gulpfile.js'
],
{
base: __dirname
})
.pipe(complexity())
.pipe(reporter())
.pipe(gulp.dest("complexity"));
});