Skip to content

Commit 4219c34

Browse files
committed
add nsp check to find vulnerabilities on npm test
1 parent 51d4796 commit 4219c34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "JSON Web Token implementation (symmetric and asymmetric)",
55
"main": "index.js",
66
"scripts": {
7-
"test": "mocha --require test/util/fakeDate"
7+
"test": "mocha --require test/util/fakeDate && nsp check"
88
},
99
"repository": {
1010
"type": "git",
@@ -30,6 +30,7 @@
3030
"chai": "^1.10.0",
3131
"conventional-changelog": "~1.1.0",
3232
"mocha": "^2.1.0",
33+
"nsp": "^2.6.2",
3334
"sinon": "^1.15.4"
3435
},
3536
"engines": {

0 commit comments

Comments
 (0)