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 Feb 14, 2020
1 parent 676ca4b commit 7279608
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@
"prepublish": "safe-publish-latest",
"pretest": "npm run lint",
"test": "npm run tests-only",
"posttest": "npm run coverage && npm run audit",
"posttest": "npm run coverage && npx aud",
"tests-only": "node test",
"coverage": "covert test",
"lint": "eslint .",
"preaudit": "npm install --package-lock --package-lock-only",
"audit": "npm audit",
"postaudit": "rm package-lock.json"
"lint": "eslint ."
},
"contributors": [
{
Expand All @@ -34,6 +31,7 @@
"dependencies": {},
"devDependencies": {
"@ljharb/eslint-config": "^16.0.0",
"aud": "^1.0.0",
"covert": "^1.1.1",
"eslint": "^6.8.0",
"safe-publish-latest": "^1.1.4",
Expand Down

0 comments on commit 7279608

Please sign in to comment.