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 20, 2019
1 parent cb9f0a5 commit 9e96cb7
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 @@ -20,15 +20,14 @@
"prepublish": "safe-publish-latest",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"posttest": "npm run --silent security",
"posttest": "npx aud",
"tests-only": "npm run --silent test:stock && npm run --silent test:staging && npm run --silent test:shams",
"test:stock": "node test",
"test:staging": "node --harmony --es-staging test",
"test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs",
"test:shams:corejs": "node test/shams/core-js.js",
"test:shams:getownpropertysymbols": "node test/shams/get-own-property-symbols.js",
"lint": "eslint *.js",
"security": "nsp check"
"lint": "eslint *.js"
},
"repository": {
"type": "git",
Expand All @@ -47,7 +46,6 @@
"dependencies": {},
"devDependencies": {
"tape": "^4.6.0",
"nsp": "^2.6.1",
"safe-publish-latest": "^1.1.0",
"eslint": "^3.5.0",
"@ljharb/eslint-config": "^8.0.0",
Expand Down

0 comments on commit 9e96cb7

Please sign in to comment.