meta: only audit production packages in forge script

This commit is contained in:
Xymorot 2020-07-30 21:54:55 +02:00
parent 8b9936a4f8
commit 28c26ff258
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
"prettier:fix": "prettier --write **/*.*",
"fix": "npm run lint:fix && npm run prettier:fix",
"forge:make": "electron-forge --platform win32 --arch x64 make",
"forge": "npm audit --audit-level=high && npm run build && npm run forge:make",
"forge": "npm audit --production --audit-level=high && npm run build && npm run forge:make",
"precommit": "npm run build && npm run prettier && npm run lint && npm run coverage:fast",
"prepush": "npm run build && npm run coverage"
},