refactor: only fail npm audit in forge script on a high or higher level of vulnerability

This commit is contained in:
Xymorot 2020-04-10 05:16:58 +02:00
parent cfa7ba12da
commit b7972c44b9
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,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 && npm run build && npm run forge:make",
"forge": "npm audit --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"
},