config: add build script to pre-commit script to test for typescript errors

This commit is contained in:
Xymorot 2019-11-18 23:10:59 +01:00
parent 69f06b2e0c
commit 423df953fb
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
"forge:start": "electron-forge start", "forge:start": "electron-forge start",
"forge:make": "electron-forge --platform win32 --arch x64 make", "forge:make": "electron-forge --platform win32 --arch x64 make",
"forge": "npm run build && npm run forge:make", "forge": "npm run build && npm run forge:make",
"precommit": "npm run prettier && npm run eslint:check && npm run tslint:check && npm run lint && npm run coverage:fast", "precommit": "npm run build && npm run prettier && npm run eslint:check && npm run tslint:check && npm run lint && npm run coverage:fast",
"prepush": "npm run coverage" "prepush": "npm run coverage"
}, },
"dependencies": { "dependencies": {