meta: only audit production packages in forge script
This commit is contained in:
parent
8b9936a4f8
commit
28c26ff258
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue