run electron-rebuild on postinstall

This commit is contained in:
Kyle Spearrin 2018-02-19 13:34:56 -05:00
parent 5f87bf3e28
commit 5a50e3e06f
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@
},
"license": "GPL-3.0",
"scripts": {
"postinstall": "electron-rebuild",
"lint": "tslint src/**/*.ts || true",
"lint:fix": "tslint src/**/*.ts --fix",
"build": "npm run build:main | npm run build:renderer",