Skip to content

Commit

Permalink
[Tests] use npm audit instead of nsp
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 20, 2019
1 parent 4c9100c commit be8e5d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package-lock=false
audit-level=high
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"tests-only": "node --harmony test/index.js",
"posttest": "npm run --silent security",
"posttest": "npm run audit",
"coverage": "covert test/*.js",
"coverage-quiet": "covert test/*.js --quiet",
"lint": "eslint .",
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null",
"security": "nsp check"
"preaudit": "npm install --package-lock --package-lock-only",
"audit": "npm audit",
"postaudit": "rm package-lock.json"
},
"repository": {
"type": "git",
Expand All @@ -35,7 +37,6 @@
"covert": "^1.1.0",
"editorconfig-tools": "^0.1.1",
"eslint": "^4.15.0",
"nsp": "^3.1.0",
"tape": "^4.8.0"
},
"testling": {
Expand Down

0 comments on commit be8e5d2

Please sign in to comment.