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 Mar 6, 2019
1 parent b0b9595 commit 6a5a357
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .npmrc
@@ -1,2 +1,2 @@
package-lock=false
audit-level=high
audit-level=critical
7 changes: 2 additions & 5 deletions package.json
Expand Up @@ -20,15 +20,12 @@
"prepublish": "safe-publish-latest",
"pretest": "npm run --silent lint",
"test": "npm run tests-only",
"posttest": "npm run audit",
"posttest": "npx aud",
"tests-only": "node test",
"coverage": "nyc npm run --silent tests-only >/dev/null",
"postcoverage": "nyc report",
"lint": "eslint test/*.js *.js",
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null",
"preaudit": "npm install --package-lock --package-lock-only",
"audit": "npm audit",
"postaudit": "rm package-lock.json"
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 6a5a357

Please sign in to comment.