From c077ab05b715addc2808700a30af18b9432a7208 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 15 Feb 2018 12:25:18 -0500 Subject: [PATCH] publish scripts --- package.json | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index ba356084f4..129e6602a5 100644 --- a/package.json +++ b/package.json @@ -26,10 +26,16 @@ "electron": "npm run build:main && (electron --inspect=5858 ./build --watch | npm run build:renderer:watch)", "pack:linux": "build --linux --x64", "pack:mac": "build --mac", + "pack:maclinux": "build --mac --linux --x64", "pack:win": "build --win --x64 --ia32", "dist:linux": "npm run build && npm run pack:linux", "dist:mac": "npm run build && npm run pack:mac", - "dist:win": "npm run build && npm run pack:win" + "dist:maclinux": "npm run build && npm run pack:maclinux", + "dist:win": "npm run build && npm run pack:win", + "publish:linux": "npm run build && build --linux --x64 -p always", + "publish:mac": "npm run build && build --mac -p always", + "publish:maclinux": "npm run build && build --mac --linux --x64 -p always", + "publish:win": "npm run build && build --win --x64 --ia32 -p always" }, "build": { "appId": "com.bitwarden.desktop", @@ -40,29 +46,29 @@ "app": "build" }, "mac": { + "electronUpdaterCompatibility": ">=0.0.1", "category": "public.app-category.productivity", - "target": [ + "target": [ "dmg", "zip" - ], - "electronUpdaterCompatibility": ">=0.0.1" + ] }, - "win": { - "target": [ + "win": { + "electronUpdaterCompatibility": ">=0.0.1", + "target": [ "portable", "nsis" - ], - "electronUpdaterCompatibility": ">=0.0.1" + ] }, "linux": { + "category": "Utility", + "synopsis": "A secure and free password manager for all of your devices.", "target": [ "snap", "rpm", "AppImage", "deb" - ], - "category": "Utility", - "synopsis": "A secure and free password manager for all of your devices." + ] }, "dmg": { "background": "./resources/background.png",