From 657397b1776148db0f1d2e43739c91344666c43d Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Tue, 9 Apr 2019 17:01:19 +0100 Subject: [PATCH] Add separate platform electron build commands Add commands for building separate electron builds for each platform --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 874e11bf..69c0f4ae 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,9 @@ "build:bundle": "cross-env NODE_ENV=production webpack -p --progress --bail --mode production", "build:bundle:dev": "webpack --progress --bail --mode development", "build:electron": "yarn clean && yarn build && yarn install:electron && build -wml --ia32 --x64", + "build:electron:linux": "npm run build && build -l --ia32 --x64", + "build:electron:macos": "npm run build && build -m --ia32 --x64", + "build:electron:windows": "npm run build && build -w --ia32 --x64", "build:react-sdk": "node scripts/yarn-sub.js matrix-react-sdk build", "build:js-sdk": "node scripts/yarn-sub.js matrix-js-sdk start:init", "build": "yarn build:js-sdk && yarn build:react-sdk && yarn reskindex && yarn build:res && yarn build:bundle",