From ea2cd8c7a6227deb1b00127ad6afcdb0af6381f5 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 4 Mar 2024 23:22:10 -0800 Subject: [PATCH] [Tests] use `aud` --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cc13c21..7acea92 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "lint": "eslint --ext=js,mjs .", "tests-only": "tape 'test/**/*.js'", "pretest": "npm run lint", - "test": "npm run tests-only" + "test": "npm run tests-only", + "posttest": "aud --production" }, "repository": { "type": "git", @@ -31,6 +32,7 @@ }, "devDependencies": { "@ljharb/eslint-config": "^21.1.0", + "aud": "^2.0.4", "eslint": "=8.8.0", "tape": "^5.0.1" }