diff --git a/.travis.yml b/.travis.yml index 52cfc1e1..9c2c5c39 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ node_js: script: - npm run codestyle + - npm run security - npm run coverage && npm run report notifications: diff --git a/package.json b/package.json index 180e143a..46c626a7 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "scripts": { "start": "node bin/cloudcmd.js", "start:dev": "nodemon bin/cloudcmd.js", + "security": "nsp check", "codestyle": "npm-run-all --parallel lint:* jscs spell", "lint:css": "recess css/*.css", "lint:style": "stylelint css/*.css", @@ -106,6 +107,7 @@ "morgan": "^1.6.1", "nodemon": "^1.9.1", "npm-run-all": "^1.4.0", + "nsp": "^2.2.1", "nyc": "^6.0.0", "place": "^1.1.4", "recess": "^1.1.9",