mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 01:42:31 +00:00
Merge pull request #1134 from nasa/dep-vuln-1130
[Build] Check dependencies for vulnerabilities
This commit is contained in:
commit
8aa3000fb1
@ -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;
|
||||
@ -152,6 +157,6 @@ gulp.task('develop', ['serve', 'stylesheets', 'watch']);
|
||||
|
||||
gulp.task('install', [ 'static', 'scripts' ]);
|
||||
|
||||
gulp.task('verify', [ 'lint', 'test', 'checkstyle' ]);
|
||||
gulp.task('verify', [ 'lint', 'test', 'checkstyle', 'nsp' ]);
|
||||
|
||||
gulp.task('build', [ 'verify', 'install' ]);
|
||||
|
@ -15,6 +15,7 @@
|
||||
"gulp-jscs": "^3.0.2",
|
||||
"gulp-jshint": "^2.0.0",
|
||||
"gulp-jshint-html-reporter": "^0.1.3",
|
||||
"gulp-nsp": "^2.4.2",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-replace-task": "^0.11.0",
|
||||
"gulp-requirejs-optimize": "^0.3.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user