gulp-complexity

2019-05-17 admin

gulp-complexity是什么

什么是gulp-complexity,A JavaScript complexity analysis gulp task

gulp-complexity使用教程帮助文档

gulp-complexity

Analize the complexity and maintainability of code

Twin brother of grunt-complexity task

Install

npm install --save-dev gulp-complexity

Example

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 © Alexey Raspopov

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-65146.html

文章标题:gulp-complexity

回到顶部