From 4904f332556c8553f6a68fa217570b27f3dea673 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Tue, 14 Jul 2020 16:05:53 -0400 Subject: [PATCH] Pipe audit results to a json file so lerna does not overflow (#515) * Pipe audit results to a json file so lerna does not overflow * reorder flags and args --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0fd128e..9d4213e 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "directory": "packages/io" }, "scripts": { - "audit-moderate": "npm install && npm audit --audit-level=moderate", + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" },