From 0945165720708ea05be23c6644396460aa8ae7d7 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 536a8e9..c16195b 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "directory": "packages/tool-cache" }, "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" },