gulp-rb-validate-bower
v1.0.0
Published
Gulp plugin to check bower.json according to web frontend guidelines
Downloads
2
Readme
#Installation
Install package with NPM and add it to your development dependencies:
npm install gulp-rb-validate-bower --save-dev
#Usage
Basic
var rbbower = require('gulp-rb-validate-bower');
gulp.task('rb-validate', function () {
gulp.src('./bower.json')
.pipe(rbbower());
});
With Parameter
var rbbower = require('gulp-rb-validate-bower');
gulp.task('rb-validate', function () {
gulp.src('./bower.json')
.pipe(rbbower({
exitOnError: true
});
});
#Parameters
exitOnError: Boolean (Default: false)
Exit with code 1 if an error with obligation level red is found.