diff --git a/package.json b/package.json index bbae7d0..96b4b78 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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",