-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.81 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "vikadata-client",
"version": "0.1.2",
"main": "dist/main.js",
"license": "MIT",
"devDependencies": {
"cross-env": "^7.0.3",
"electron": "^11.0.3",
"electron-builder": "^22.9.1",
"electron-notarize": "^1.0.0",
"webpack": "^5.11.1"
},
"dependencies": {
"electron-updater": "^4.3.5",
"webpack-cli": "^4.3.1",
"webpack-node-externals": "^2.5.2"
},
"scripts": {
"start": "electron main.js",
"build": "webpack",
"arch:x64": "sh ./scripts/modify_package.sh x64",
"arch:arm64": "sh ./scripts/modify_package.sh arm64",
"update:vikalist": "python3 ./scripts/upload_package.py",
"dist:production_mac": "yarn arch:x64 && cross-env BUILD_ENV=production ARCH=mac yarn run build && electron-builder build --mac",
"dist:development_mac": "yarn arch:x64 && cross-env BUILD_ENV=development ARCH=mac yarn run build && electron-builder build --mac",
"dist:production_win": "cross-env BUILD_ENV=production ARCH=win yarn run build && electron-builder build --win",
"dist:development_win": "cross-env BUILD_ENV=development ARCH=win yarn run build && electron-builder build --win",
"dist:production_arm": "yarn arch:arm64 && cross-env BUILD_ENV=production ARCH=arm yarn run build && electron-builder build --arm64",
"dist:production_linux": "cross-env BUILD_ENV=production ARCH=linux yarn run build && electron-builder build --linux",
"dist:development_arm": "yarn arch:arm64 && cross-env BUILD_ENV=development ARCH=arm yarn run build && electron-builder build --arm64",
"automation:dev": "sh ./scripts/automation.sh development",
"automation:prod": "sh ./scripts/automation.sh production"
},
"build": {
"productName": "vikadata",
"appId": "com.vika.vikadata",
"copyright": "",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"files": [
"node_modules/",
"dist/",
"package.json",
"public/"
],
"directories": {
"output": "build"
},
"publish": [
{
"provider": "s3",
"region": "cn-northwest-1",
"bucket": "vika-client-download",
"endpoint": "https://s3.cn-northwest-1.amazonaws.com.cn",
"path": "/integration"
}
],
"win": {
"icon": "public/icon_win.png",
"target": [
"nsis",
"zip"
]
},
"mac": {
"identity": "Vikadata Technology Co., Ltd",
"icon": "public/icon_mac.png",
"target": [
{
"target": "dmg",
"arch": "x64"
},
{
"target": "zip",
"arch": "x64"
}
]
},
"linux": {
"target": [
"AppImage",
"deb"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": true,
"shortcutName": "维格表"
}
}
}