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 Jul 22, 2019
1 parent 6b9427d commit a30bde5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package-lock=false
audit-level=critical
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@
"prepublish": "! type safe-publish-latest >/dev/null 2>&1 || safe-publish-latest",
"pretest": "npm run --silent lint && evalmd README.md",
"test": "npm run --silent tests-only",
"posttest": "npm run --silent security",
"posttest": "npx aud",
"tests-only": "es-shim-api --bound && npm run --silent test:shimmed && npm run --silent test:module && npm run --silent test:implementation",
"test:implementation": "node test/implementation",
"test:shimmed": "node test/shimmed",
"test:module": "node test/index",
"testling": "testling --html > test.html",
"coverage": "covert test/*.js",
"coverage:quiet": "covert test/*.js --quiet",
"lint": "eslint test/*.js *.js",
"security": "nsp check"
"lint": "eslint test/*.js *.js"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -57,7 +56,6 @@
"tape": "^4.6.3",
"indexof": "^0.0.1",
"covert": "^1.1.0",
"nsp": "^2.6.2",
"eslint": "^3.10.2",
"@ljharb/eslint-config": "^8.0.0",
"semver": "^5.3.0",
Expand Down

0 comments on commit a30bde5

Please sign in to comment.