mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 22:17:49 +00:00
[Build] Add NSP task
...to check dependencies for known vulnerabilities.
This commit is contained in:
parent
5a819a96de
commit
05e88e5dcf
@ -103,6 +103,11 @@ gulp.task('stylesheets', function () {
|
||||
.pipe(gulp.dest(__dirname));
|
||||
});
|
||||
|
||||
gulp.task('nsp', function (done) {
|
||||
var nsp = require('gulp-nsp');
|
||||
nsp({package: __dirname + '/package.json'}, done);
|
||||
});
|
||||
|
||||
gulp.task('lint', function () {
|
||||
var nonspecs = paths.specs.map(function (glob) {
|
||||
return "!" + glob;
|
||||
|
Loading…
Reference in New Issue
Block a user