config: add typescript compile to postinstall script

This commit is contained in:
Xymorot 2019-07-02 23:21:46 +02:00
parent 862bac30b3
commit f926cbb398
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"author": "Xymorot",
"main": "dist/main.js",
"scripts": {
"postinstall": "npm run rebuild && npm run typeorm:migrate",
"postinstall": "npm run rebuild && gulp tsc && npm run typeorm:migrate",
"start": "electron .",
"dev": "electron . --enable-logging",
"rebuild": "electron-rebuild -f -b -t prod,dev,optional",