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 13, 2019
1 parent 1479506 commit 4572df1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -4,11 +4,12 @@
"description": "Turn an array into a list of comma-separated values, appropriate for use in an English sentence.",
"main": "index.js",
"scripts": {
"test": "npm run lint && node test.js && npm run coverage-quiet && npm run security",
"pretest": "npm run lint",
"test": "node test && npm run coverage-quiet",
"posttest": "npx aud",
"coverage": "covert test.js",
"coverage-quiet": "covert test.js --quiet",
"lint": "eslint .",
"security": "nsp package"
"lint": "eslint ."
},
"repository": {
"type": "git",
Expand All @@ -35,8 +36,7 @@
"tape": "^4.2.0",
"covert": "^1.1.0",
"eslint": "^1.1.0",
"@ljharb/eslint-config": "^1.0.4",
"nsp": "^1.0.3"
"@ljharb/eslint-config": "^1.0.4"
},
"engines": {
"node": ">= 0.4"
Expand Down

0 comments on commit 4572df1

Please sign in to comment.