Skip to content

Commit

Permalink
feat(package): Move nsp check from prepare step to an optional script.
Browse files Browse the repository at this point in the history
* prepare will now output a message telling the user how to run nsp.

fixes nodeshift-starters#77
  • Loading branch information
lholmquist committed Feb 20, 2018
1 parent 61c3100 commit bdc8e15
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 @@ -6,7 +6,8 @@
"scripts": {
"test": "tape test/*.js | tap-spec",
"lint": "eslint test/*.js app.js bin/*",
"prepare": "nsp check",
"prepare": "echo 'To confirm CVE compliance, run \"npm run security-check\"' ",
"security-check": "nsp check",
"coverage": "nyc npm test",
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"ci": "npm run lint && npm run coveralls",
Expand Down

0 comments on commit bdc8e15

Please sign in to comment.