config: add npm audit to forge script

This is meant to take place in the pipeline of releasing the application.
This commit is contained in:
Xymorot 2019-12-15 02:05:35 +01:00
parent ecab5d6552
commit b2a4bb1b76
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
"prettier:fix": "prettier --ignore-path .gitignore --write **/*.{html,handlebars,json,{c,sc,sa,le}ss,yml,svelte,md,ts,js}",
"fix": "npm run lint:check && npm run lint:fix && npm run prettier:fix",
"forge:make": "electron-forge --platform win32 --arch x64 make",
"forge": "npm run build && npm run forge:make",
"forge": "npm audit && npm run build && npm run forge:make",
"precommit": "npm run build && npm run prettier && npm run lint:check && npm run lint && npm run coverage:fast",
"prepush": "npm run build && npm run coverage"
},