Configure electron-builder
// FREEBIE
This commit is contained in:
parent
995ccda9e4
commit
83d827c127
1 changed files with 36 additions and 1 deletions
37
package.json
37
package.json
|
@ -30,6 +30,41 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "grunt test",
|
"test": "grunt test",
|
||||||
"lint": "grunt jshint",
|
"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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue