gulp-check-deps

Gulp plugin to check your dependencies (through npm outdated)

MIT 5 个版本
安装
npm install gulp-check-deps
yarn add gulp-check-deps
pnpm add gulp-check-deps
bun add gulp-check-deps
README

check-deps Build Status

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

check-deps

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

The MIT License (MIT)

Copyright (c) 2015 PMSIpilot

版本列表
1.4.1 2016-03-10
1.4.0 2016-03-09
1.3.0 2015-09-29
1.2.0 2015-08-29
1.0.1 2015-08-26