Skip to content

Commit

Permalink
[Tests] use npx aud instead of nsp or npm audit with hoops
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jun 5, 2019
1 parent 1847ac2 commit 4abd340
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"pretest": "npm run --silent lint && es-shim-api --bound --property",
"test": "npm run --silent tests-only",
"posttest": "npm run --silent security",
"posttest": "npx aud",
"tests-only": "npm run --silent test:implementation && npm run --silent test:shim",
"test:native": "node test/native.js",
"test:shim": "node test/shimmed.js",
Expand All @@ -17,8 +17,7 @@
"coverage:quiet": "covert test/*.js --quiet",
"lint": "eslint .",
"build": "mkdir -p dist && browserify browserShim.js > dist/browser.js",
"prepublish": "npm run --silent build",
"security": "nsp check"
"prepublish": "npm run --silent build"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -50,7 +49,6 @@
"eslint": "^5.3.0",
"for-each": "^0.3.3",
"is": "^3.2.1",
"nsp": "^3.2.1",
"tape": "^4.9.1"
},
"testling": {
Expand Down

0 comments on commit 4abd340

Please sign in to comment.