Package Exports
- gulp-complexity
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-complexity) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-complexity
Analize the complexity and maintainability of code
Twin brother of grunt-complexity task
Install
npm install --save-dev gulp-complexityExample
var gulp = require('gulp'),
complexity = require('gulp-complexity');
gulp.task('default', function(){
return gulp.src('*.js')
.pipe(complexity());
});Options
Bool breakOnErrors - Fail the task when files or functions are too complex. Default: true
License
MIT License (c) Alexey Raspopov