From 8c29425935e8daf93b6d39aae11a22b674eb3560 Mon Sep 17 00:00:00 2001 From: Ghislain Antony Vaillant Date: Mon, 20 Apr 2020 12:50:18 +0200 Subject: [PATCH] Add scripts to build as unpacked dir (#434) --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index b68d8cdedf..9821c14f45 100644 --- a/package.json +++ b/package.json @@ -35,12 +35,14 @@ "electron": "npm run build:main && concurrently -k -n Main,Rend -c yellow,cyan \"electron --inspect=5858 ./build --watch\" \"npm run build:renderer:watch\"", "clean:dist": "rimraf ./dist/*", "clean:l10n": "git push origin --delete l10n_master", + "pack:dir": "npm run clean:dist && electron-builder --dir -p never", "pack:lin": "npm run clean:dist && electron-builder --linux --x64 -p never", "pack:mac": "npm run clean:dist && electron-builder --mac -p never", "pack:mac:mas": "npm run clean:dist && electron-builder --mac mas -p never", "pack:mac:masdev": "npm run clean:dist && electron-builder --mac mas-dev -p never", "pack:win": "npm run clean:dist && electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName=\"8bit Solutions LLC\"", "pack:win:ci": "npm run clean:dist && electron-builder --win --x64 --ia32 -p never", + "dist:dir": "npm run build && npm run pack:dir", "dist:lin": "npm run build && npm run pack:lin", "dist:mac": "npm run build && npm run pack:mac", "dist:mac:mas": "npm run build && npm run pack:mac:mas",