gulp-check-deps
v1.4.1
Published
Gulp plugin to check your dependencies (through npm outdated)
Downloads
258
Readme
check-deps
Check your node dependencies (through npm outdated)
In case you are looking for the cli binary, you should take a look to check-deps since this library has been split for npm
How to use ?
//gulpfile.js
var checkDeps = require('gulp-check-deps');
gulp.task('check:deps', function() {
return gulp.src('package.json').pipe(checkDeps());
});
Here is how you would do to use a custom NPM registry and make the task fail if it finds any git dependency:
//gulpfile.js
var checkDeps = require('gulp-check-deps');
gulp.task('check:deps', function() {
var checkDepsConfig = {
npmArgs: ['--registry', 'http://private-npm.local'],
failForGitDependencies: true
};
return gulp.src('package.json').pipe(checkDeps(checkDepsConfig));
});
License
Copyright (c) 2015 PMSIpilot