add electron build

This commit is contained in:
Sambo Chea 2020-02-04 09:02:49 +07:00
parent eff10fcc1e
commit a85cda794c

View File

@ -3,10 +3,39 @@
"version": "1.0.0",
"description": "Clinic Application",
"main": "main.js",
"dependencies": {
"electron": "^8.0.0"
"build": {
"appId": "cubetiq-clinic",
"category": "com.cubetiqs.pro.clinic",
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"target": [
"AppImage",
"deb"
]
},
"win": {
"target": "squirrel",
"icon": "build/icon.ico"
}
},
"dependencies": {},
"devDependencies": {
"electron": "^8.0.0",
"electron-builder": "^22.3.2"
},
"devDependencies": {},
"scripts": {
"start": "electron main.js",
"test": "echo \"Error: no test specified\" && exit 1"