From e29e8b4264d990cd0e860df4f676248402401e0c Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 28 Mar 2016 15:27:04 -0400 Subject: [PATCH] feature(package) scripts: add security --- .travis.yml | 1 + package.json | 2 ++ 2 files changed, 3 insertions(+) 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",