From 0e93002ef877c76335607a7e62d480f715b4c8b5 Mon Sep 17 00:00:00 2001 From: Oleguer Llopart Date: Mon, 13 Jan 2020 16:33:51 +0100 Subject: [PATCH] Upd: Build scripts --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b8f1a61a7..ef036ce0a 100644 --- a/package.json +++ b/package.json @@ -24,24 +24,30 @@ "scripts": { "start": "npm run prebuild && electron scripts/main.js", "rebuild": "electron-rebuild -f -w sharp", + "rebuild2": "electron-builder node-gyp-rebuild", "prebuild": "node scripts/build.js", "build": "npm run prebuild && electron-builder build", - "build-dist": "npm run prebuild && electron-builder --x64 --linux deb rpm tar.gz && electron-builder --arm64 --linux deb rpm tar.gz && electron-builder --arm64 --mac zip tar.gz", + "build-dist": "npm run prebuild && electron-builder --x64 --linux deb rpm 7z && electron-builder --arm64 --linux deb rpm 7z && electron-builder --arm64 --mac 7z", "build-linux": "npm run prebuild && electron-builder --x64 --linux deb rpm snap AppImage tar.gz", "build-deb": "npm run prebuild && electron-builder --x64 --linux deb", "build-rpm": "npm run prebuild && electron-builder --x64 --linux rpm", "build-snap": "npm run prebuild && electron-builder --x64 --linux snap", "build-appimage": "npm run prebuild && electron-builder --x64 --linux AppImage", "build-tar": "npm run prebuild && electron-builder --x64 --linux tar.gz", + "build-zip": "npm run prebuild && electron-builder --x64 --linux zip", + "build-7z": "npm run prebuild && electron-builder --x64 --linux 7z", "build-nsis": "npm run prebuild && electron-builder --win nsis", "build-mac-tar": "npm run prebuild && electron-builder --mac tar.gz", "build-mac-zip": "npm run prebuild && electron-builder --mac zip", + "build-mac-7z": "npm run prebuild && electron-builder --mac 7z", "build-linux-arm": "npm run prebuild && electron-builder --arm64 --linux deb rpm snap AppImage tar.gz", "build-deb-arm": "npm run prebuild && electron-builder --arm64 --linux deb", "build-rpm-arm": "npm run prebuild && electron-builder --arm64 --linux rpm", "build-snap-arm": "npm run prebuild && electron-builder --arm64 --linux snap", "build-appimage-arm": "npm run prebuild && electron-builder --arm64 --linux AppImage", "build-tar-arm": "npm run prebuild && electron-builder --arm64 --linux tar.gz", + "build-zip-arm": "npm run prebuild && electron-builder --arm64 --linux zip", + "build-7z-arm": "npm run prebuild && electron-builder --arm64 --linux 7z", "snapcraft": "npm run prebuild && node ./scripts/snapcraft.js && cd dist/__snap-x64/ && snapcraft", "snapcraft-arm": "npm run prebuild && node ./scripts/snapcraft.js && cd dist/__snap-arm64/ && snapcraft --target-arch=arm64", "postinstall": "electron-builder install-app-deps"