From 228ae938f3cd9db9dfd8bd7458b076a7b2aef280 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 10 Oct 2022 15:35:33 -0700 Subject: [PATCH] [Tests] add `aud` in `posttest` --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 981c508..717061c 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,16 @@ "description": "parse argument options", "main": "index.js", "devDependencies": { + "aud": "^2.0.1", "npmignore": "^0.3.0", "nyc": "^10.3.2", "tape": "^5.6.1" }, "scripts": { "prepack": "npmignore --auto --commentLines=auto", - "test": "nyc tape test/*.js" + "tests-only": "nyc tape test/*.js", + "test": "npm run tests-only", + "posttest": "aud --production" }, "testling": { "files": "test/*.js",