From d099a3943eb7e156a3e64fb8b74e11d7c83a4bec Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sat, 14 Sep 2019 09:08:02 -0700 Subject: [PATCH] [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops --- package.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 89a59e9..9b50330 100644 --- a/package.json +++ b/package.json @@ -9,14 +9,11 @@ "pretest": "npm run lint", "test": "npm run tests-only", "tests-only": "node --harmony --es-staging test.js", - "posttest": "npm run audit", + "posttest": "npx aud", "coverage": "covert test.js", "coverage-quiet": "covert test.js --quiet", "lint": "eslint test.js *.js", - "eccheck": "eclint check *.js **/*.js > /dev/null", - "preaudit": "npm install --package-lock --package-lock-only", - "audit": "npm audit", - "postaudit": "rm package-lock.json" + "eccheck": "eclint check *.js **/*.js > /dev/null" }, "repository": { "type": "git",