From b0eb4e3cbca3fa45da565b7b5b885f6dc710defd Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Wed, 31 Jul 2019 16:56:17 -0700 Subject: [PATCH] build scripts: fix build -> electron-builder for latest version --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 6d50064..68be34d 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,10 @@ "build-main": "cross-env NODE_ENV=production DEBUG_PROD=false node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack/webpack.config.js --display-error-details --colors", "start": "cross-env NODE_ENV=production electron ./app", "start-dev": "cross-env NODE_ENV=development electron -r babel-register ./app/main.dev", - "pack": "build --dir", - "release": "npm run build && build", - "dist": "npm run build && build --publish never" + "pack": "electron-builder --dir", + "release": "npm run build && electron-builder", + "dist": "npm run build && electron-builder --publish never", + "postinstall": "electron-builder install-app-deps" }, "repository": { "type": "git",