From 7ac91a56f54365a8009bf0daa92c6485569554de Mon Sep 17 00:00:00 2001 From: Felix Breuer Date: Thu, 7 Feb 2019 10:33:47 +0100 Subject: [PATCH] add build all --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 389ef5a..6df0f28 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,9 @@ "watch": "nodemon -e ts -w ./src -x npm run dev", "lint": "eslint --config .eslintrc.json --ext js --ext ts --ext jsx .", "lint:fix": "eslint --config .eslintrc.json --fix --ext js --ext ts --ext jsx .", - "build:electron": "tsc && webpack --config webpack.electron.config.js", + "build:electron": "npm run build && webpack --config webpack.electron.config.js", "build:package": "bash build-electron.sh", + "build:all": "npm run build:electron && npm run build:package", "start:electron": "electron ." }, "repository": {