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 1, 2019
1 parent a9d5f94 commit 428fb50
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
"scripts": {
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"posttest": "npm run --silent security",
"posttest": "npm run audit",
"tests-only": "es-shim-api && npm run --silent test:shimmed && npm run --silent test:module",
"test:shimmed": "node test/shimmed.js",
"test:module": "node test/index.js",
"coverage": "covert test/*.js",
"coverage-quiet": "covert test/*.js --quiet",
"lint": "eslint .",
"security": "nsp check"
"preaudit": "npm install --package-lock --package-lock-only",
"audit": "npm audit",
"postaudit": "rm package-lock.json"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -48,7 +50,6 @@
"array-map": "^0.0.0",
"covert": "^1.1.0",
"eslint": "^5.8.0",
"nsp": "^3.2.1",
"object-keys": "^1.0.12",
"tape": "^4.9.1"
},
Expand Down

0 comments on commit 428fb50

Please sign in to comment.