From 75dd8fd6ce56eb37b12e30807e5f913867b21733 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 18 Sep 2023 11:39:57 -0700 Subject: [PATCH] [Tests] add `npm run posttest` --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5acb0ab..dea56c2 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "lint": "eslint --ext=js,mjs .", "tests-only": "nyc tape 'test/**/*.js'", "pretest": "npm run lint", - "test": "npm run tests-only" + "test": "npm run tests-only", + "posttest": "aud --production" }, "dependencies": { "bn.js": "^5.2.1", @@ -35,6 +36,7 @@ }, "devDependencies": { "@ljharb/eslint-config": "^21.1.0", + "aud": "^2.0.3", "eslint": "=8.8.0", "nyc": "^10.3.2", "tape": "^5.6.6"