Add separate platform electron build commands

Add commands for building separate electron builds for each platform
This commit is contained in:
Andrew Morgan 2019-04-09 17:01:19 +01:00 committed by GitHub
parent 0796f32c17
commit 657397b177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",