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 21, 2019
1 parent 78b49ff commit 3410922
Show file tree
Hide file tree
Showing 2 changed files with 5 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=high
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"test": "npm run lint && node --harmony --es-staging test.js && npm run security",
"pretest": "npm run lint",
"test": "node --harmony --es-staging test.js",
"posttest": "npx aud",
"coverage": "covert test.js",
"coverage-quiet": "covert test.js --quiet",
"lint": "eslint .",
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null",
"security": "nsp package"
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null"
},
"repository": {
"type": "git",
Expand All @@ -33,7 +34,6 @@
"indexof": "^0.0.1",
"covert": "^1.1.0",
"editorconfig-tools": "^0.1.1",
"nsp": "^1.1.0",
"eslint": "^1.5.1",
"@ljharb/eslint-config": "^1.2.0",
"semver": "^5.0.3"
Expand Down

0 comments on commit 3410922

Please sign in to comment.