Skip to content

Commit 914a763

Browse files
authored
feat(package): Move nsp check from prepare step to an optional script. (#78)
* prepare will now output a message telling the user how to run nsp. fixes #77
1 parent 61c3100 commit 914a763

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
@@ -6,7 +6,8 @@
66
"scripts": {
77
"test": "tape test/*.js | tap-spec",
88
"lint": "eslint test/*.js app.js bin/*",
9-
"prepare": "nsp check",
9+
"prepare": "echo 'To confirm CVE compliance, run \"npm run security-check\"' ",
10+
"security-check": "nsp check",
1011
"coverage": "nyc npm test",
1112
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
1213
"ci": "npm run lint && npm run coveralls",

0 commit comments

Comments
 (0)