diff --git a/.npmrc b/.npmrc index c6d2e517..0a13a5c9 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ package-lock=false -audit-level=high +audit-level=critical diff --git a/package.json b/package.json index 34c2fd6f..d1684903 100644 --- a/package.json +++ b/package.json @@ -20,15 +20,12 @@ "prepublish": "safe-publish-latest", "pretest": "npm run --silent lint", "test": "npm run tests-only", - "posttest": "npm run audit", + "posttest": "npx aud", "tests-only": "node test", "coverage": "nyc npm run --silent tests-only >/dev/null", "postcoverage": "nyc report", "lint": "eslint test/*.js *.js", - "eccheck": "editorconfig-tools check *.js **/*.js > /dev/null", - "preaudit": "npm install --package-lock --package-lock-only", - "audit": "npm audit", - "postaudit": "rm package-lock.json" + "eccheck": "editorconfig-tools check *.js **/*.js > /dev/null" }, "repository": { "type": "git",