Skip to content

Commit

Permalink
add nsp check to find vulnerabilities on npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
jfromaniello committed Dec 7, 2016
1 parent 51d4796 commit 4219c34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "JSON Web Token implementation (symmetric and asymmetric)",
"main": "index.js",
"scripts": {
"test": "mocha --require test/util/fakeDate"
"test": "mocha --require test/util/fakeDate && nsp check"
},
"repository": {
"type": "git",
Expand All @@ -30,6 +30,7 @@
"chai": "^1.10.0",
"conventional-changelog": "~1.1.0",
"mocha": "^2.1.0",
"nsp": "^2.6.2",
"sinon": "^1.15.4"
},
"engines": {
Expand Down

0 comments on commit 4219c34

Please sign in to comment.