From 83d827c127f9a373ff9d8f0b74fc672be728af6f Mon Sep 17 00:00:00 2001 From: lilia Date: Fri, 10 Mar 2017 10:35:58 -0800 Subject: [PATCH] Configure electron-builder // FREEBIE --- package.json | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c55618b3c7b..75971c739c0 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,41 @@ "scripts": { "test": "grunt test", "lint": "grunt jshint", - "start": "electron ." + "start": "electron .", + "pack": "build --dir", + "dist": "build", + "release": "build" + }, + "build": { + "appId": "org.whispersystems.signal-desktop", + "mac": { + "category": "public.app-category.social-networking" + }, + "linux": { + "target": [ + "deb" + ] + }, + "win": {}, + "files": [ + "main.js", + "background.html", + "index.html", + "options.html", + "_locales/**", + "protos/*", + "js/**", + "!js/register.js", + "stylesheets/*.css", + "audio/**", + "images/**", + "fonts/*" + ], + "directories": { + "output": "pack" + }, + "publish": [ + "github" + ] } }