config: add typescript compile to postinstall script
This commit is contained in:
parent
862bac30b3
commit
f926cbb398
|
@ -6,7 +6,7 @@
|
||||||
"author": "Xymorot",
|
"author": "Xymorot",
|
||||||
"main": "dist/main.js",
|
"main": "dist/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run rebuild && npm run typeorm:migrate",
|
"postinstall": "npm run rebuild && gulp tsc && npm run typeorm:migrate",
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"dev": "electron . --enable-logging",
|
"dev": "electron . --enable-logging",
|
||||||
"rebuild": "electron-rebuild -f -b -t prod,dev,optional",
|
"rebuild": "electron-rebuild -f -b -t prod,dev,optional",
|
||||||
|
|
Loading…
Reference in New Issue