From f926cbb398fcf7138b11f17f2eff3c2bd848282f Mon Sep 17 00:00:00 2001 From: Xymorot Date: Tue, 2 Jul 2019 23:21:46 +0200 Subject: [PATCH] config: add typescript compile to postinstall script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6c54e4d..e0ac92d 100644 --- a/package.json +++ b/package.json @@ -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",