Skip to content

Commit

Permalink
[Tests] use npx aud instead of npm audit with hoops
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Apr 7, 2019
1 parent e5a6848 commit 494ba19
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,15 @@
"scripts": {
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"posttest": "npm run audit",
"posttest": "npx aud",
"tests-only": "npm run --silent test:native && npm run --silent test:why && npm run --silent test:shimmed && npm run --silent test:corejs",
"test:native": "node test/native",
"test:why": "node test/why",
"test:shimmed": "node test/shimmed",
"test:corejs": "node test/corejs",
"coverage": "covert test/native test/why",
"coverage-quiet": "covert test/native.js --quiet",
"lint": "eslint *.js test/*.js",
"preaudit": "npm install --package-lock --package-lock-only",
"audit": "npm audit",
"postaudit": "rm package-lock.json"
"lint": "eslint *.js test/*.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 494ba19

Please sign in to comment.