From 7e158e3ab2a4c27ce1484e7aaf09b2ab9fc7db99 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sat, 26 Dec 2020 21:48:03 -0800 Subject: [PATCH] [meta] run `aud` in `posttest` --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 5c07eb99b..cebde0124 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "prepublish": "safe-publish-latest && not-in-publish || (npm run lint && npm run flow && npm run jest && npm run build)", "pretest": "npm run lint:fix && npm run flow", "test": "npm run jest", + "posttest": "aud --production", "test:ci": "npm run jest -- --ci --runInBand", "jest": "jest --coverage __tests__/**/*" }, @@ -32,6 +33,7 @@ "@babel/cli": "^7.12.10", "@babel/core": "^7.12.10", "@babel/plugin-transform-flow-strip-types": "^7.12.10", + "aud": "^1.1.3", "babel-eslint": "^10.1.0", "babel-jest": "^24.9.0", "babel-preset-airbnb": "^5.0.0",