Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

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
#16)

* prepare will now output a message telling the user how to run nsp.

fixes #15
  • Loading branch information
lholmquist authored Feb 20, 2018
1 parent 5f6d2dc commit be99104
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion licenses/licenses.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0'?>
<licenseSummary>
<project>nodejs-rest-http-secured-redhat</project>
<version>1.0.0</version>
<version>1.0.1</version>
<license>Apache-2.0</license>
<dependencies>
<dependency>
Expand Down
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 be99104

Please sign in to comment.