Package Exports
- gulp-escomplex-reporter-html
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-escomplex-reporter-html) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Gulp ESComplex Reporter - HTML
An HTML 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-html');
gulp.task('complexity', function () {
return gulp.src([
'index.js',
'gulpfile.js'
],
{
base: __dirname
})
.pipe(complexity())
.pipe(reporter())
.pipe(gulp.dest("complexity"));
});