add build
This commit is contained in:
parent
a85cda794c
commit
06f7ac90a2
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
dist
|
25
package.json
25
package.json
@ -4,21 +4,9 @@
|
|||||||
"description": "Clinic Application",
|
"description": "Clinic Application",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"build": {
|
"build": {
|
||||||
"appId": "cubetiq-clinic",
|
"appId": "com.cubetiqs.clinic",
|
||||||
"category": "com.cubetiqs.pro.clinic",
|
"mac": {
|
||||||
"dmg": {
|
"category": "com.cubetiqs.pro.clinic"
|
||||||
"contents": [
|
|
||||||
{
|
|
||||||
"x": 110,
|
|
||||||
"y": 150
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 240,
|
|
||||||
"y": 150,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/Applications"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"target": [
|
"target": [
|
||||||
@ -27,7 +15,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"win": {
|
"win": {
|
||||||
"target": "squirrel",
|
"target": "nsis",
|
||||||
"icon": "build/icon.ico"
|
"icon": "build/icon.ico"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -37,7 +25,10 @@
|
|||||||
"electron-builder": "^22.3.2"
|
"electron-builder": "^22.3.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron main.js",
|
"postinstall": "electron-builder install-app-deps",
|
||||||
|
"start": "npm install && electron ./main",
|
||||||
|
"pack": "electron-builder --dir",
|
||||||
|
"dist": "electron-builder",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
Reference in New Issue
Block a user