Skip to content

Commit

Permalink
[Tests] use npm audit instead of nsp
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 21, 2019
1 parent a0ab621 commit 7df2669
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions package.json
Expand Up @@ -6,13 +6,16 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"test": "npm run lint && node test.js && npm run coverage-quiet && npm run security",
"test": "npm run lint && node test.js && npm run coverage-quiet",
"posttest": "npm run audit",
"coverage": "covert test.js",
"coverage-quiet": "covert test.js --quiet",
"lint": "npm run jscs && npm run eslint",
"jscs": "jscs *.js",
"eslint": "eslint *.js",
"security": "nsp package"
"preaudit": "npm install --package-lock --package-lock-only",
"audit": "npm audit",
"postaudit": "rm package-lock.json"
},
"repository": {
"type": "git",
Expand All @@ -38,8 +41,7 @@
"covert": "^1.1.0",
"jscs": "^2.3.0",
"eslint": "^1.6.0",
"@ljharb/eslint-config": "^1.3.0",
"nsp": "^1.1.0"
"@ljharb/eslint-config": "^1.3.0"
},
"testling": {
"files": "test.js",
Expand Down

0 comments on commit 7df2669

Please sign in to comment.