diff --git a/.npmrc b/.npmrc index 43c97e7..c6d2e51 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ package-lock=false +audit-level=high diff --git a/package.json b/package.json index bd87cb1..dd89051 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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"