From d12f94888a67489a801249cb3d4677157ae34a2f Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 31 Jul 2019 15:51:30 +0100 Subject: [PATCH] Use modern command name for electron-builder `electron-builder` now recommends you invoke it via that name instead of `build` as was previously supported. --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b9a68440..a1026444 100644 --- a/package.json +++ b/package.json @@ -36,10 +36,10 @@ "build:compile": "yarn reskindex && babel --source-maps -d lib src", "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": "yarn build && build -l --x64", - "build:electron:macos": "yarn build && build -m --x64", - "build:electron:windows": "yarn build && build -w --ia32 --x64", + "build:electron": "yarn clean && yarn build && yarn install:electron && electron-builder -wml --ia32 --x64", + "build:electron:linux": "yarn build && electron-builder -l --x64", + "build:electron:macos": "yarn build && electron-builder -m --x64", + "build:electron:windows": "yarn build && electron-builder -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",