Configure electron-builder

// FREEBIE
This commit is contained in:
lilia 2017-03-10 10:35:58 -08:00 committed by Scott Nonnenberg
parent 995ccda9e4
commit 83d827c127
No known key found for this signature in database
GPG key ID: A4931C09644C654B

View file

@ -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"
]
}
}