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
This commit is contained in:
Thomas Boop authored and GitHub committed 2020-07-14 16:05:53 -04:00
1 parent 96cbbc8b77
commit 6fd70de397
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@
"directory": "packages/artifact"
},
"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"
},