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 f1fee97 commit 1f9200b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .npmrc
@@ -1 +1,2 @@
package-lock=false
audit-level=high
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -6,12 +6,14 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"test": "npm run lint && node --harmony --es-staging test.js && npm run security",
"pretest": "npm run lint",
"tests-only": "node --harmony --es-staging test.js",
"test": "npm run tests-only",
"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 @@ -32,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 Expand Up @@ -60,4 +61,3 @@
"node": ">= 0.4"
}
}

0 comments on commit 1f9200b

Please sign in to comment.