refactor: only fail npm audit in forge script on a high or higher level of vulnerability
This commit is contained in:
parent
cfa7ba12da
commit
b7972c44b9
@ -36,7 +36,7 @@
|
|||||||
"prettier:fix": "prettier --write **/*.*",
|
"prettier:fix": "prettier --write **/*.*",
|
||||||
"fix": "npm run lint:fix && npm run prettier:fix",
|
"fix": "npm run lint:fix && npm run prettier:fix",
|
||||||
"forge:make": "electron-forge --platform win32 --arch x64 make",
|
"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",
|
"precommit": "npm run build && npm run prettier && npm run lint && npm run coverage:fast",
|
||||||
"prepush": "npm run build && npm run coverage"
|
"prepush": "npm run build && npm run coverage"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user