init submodules after npm install

This commit is contained in:
Kyle Spearrin 2018-02-20 11:02:47 -05:00
parent 2ae9dfd891
commit 974224cee7
1 changed files with 3 additions and 2 deletions

View File

@ -17,8 +17,9 @@
},
"license": "GPL-3.0",
"scripts": {
"updatesub": "git submodule update --remote",
"postinstall": "./node_modules/.bin/electron-rebuild",
"sub:init": "git submodule update --init --recursive",
"sub:update": "git submodule update --remote",
"postinstall": "./node_modules/.bin/electron-rebuild && npm run sub:init",
"lint": "tslint src/**/*.ts || true",
"lint:fix": "tslint src/**/*.ts --fix",
"build": "npm run build:main | npm run build:renderer",