-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.02 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 3.02 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "MiChat",
"version": "5.0.2",
"description": "小米政企助手",
"main": "main.js",
"repository": {
"type": "git",
"url": "https://github.com/machaojin1917939763/chat_plus.git"
},
"scripts": {
"start": "electron .",
"build": "electron-builder -mwl",
"build:win": "electron-builder --win",
"build:mac": "electron-builder --mac",
"build:linux": "electron-builder --linux",
"publish": "electron-builder -mwl -p always",
"publish:win": "electron-builder --win -p always",
"publish:mac": "electron-builder --mac -p always",
"publish:linux": "electron-builder --linux -p always",
"package": "electron-builder --dir",
"make": "electron-builder"
},
"author": {
"name": "Ma Chaojin",
"email": "machaojin@xiaomi.com"
},
"license": "MIT",
"devDependencies": {
"@electron-forge/cli": "^7.6.0",
"@electron-forge/maker-deb": "^7.6.0",
"@electron-forge/maker-rpm": "^7.6.0",
"@electron-forge/maker-squirrel": "^7.6.0",
"@electron-forge/maker-zip": "^7.6.0",
"@electron-forge/plugin-auto-unpack-natives": "^7.6.0",
"@electron-forge/plugin-fuses": "^7.6.0",
"@electron-forge/publisher-github": "^7.6.0",
"@electron/fuses": "^1.8.0",
"electron": "^33.2.1",
"electron-builder": "^25.1.8"
},
"dependencies": {
"electron-log": "^5.2.4",
"electron-squirrel-startup": "^1.0.1",
"electron-updater": "^6.4.0",
"update-electron-app": "^3.1.0"
},
"build": {
"appId": "com.machaojin.michat",
"productName": "MiChat",
"copyright": "Copyright © 2024 Ma Chaojin",
"publish": [
{
"provider": "github",
"owner": "machaojin1917939763",
"repo": "chat_plus"
}
],
"directories": {
"output": "dist"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "build/icons/icon.ico",
"timeStampServer": "http://timestamp.digicert.com"
},
"linux": {
"target": [
{
"target": "AppImage"
},
{
"target": "deb"
}
],
"category": "Development",
"icon": "build/icons/icon.png"
},
"mac": {
"target": [
{
"target": "dmg"
}
],
"category": "public.app-category.productivity",
"icon": "build/icons/icon.icns"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "MiChat",
"installerIcon": "build/icons/icon.ico",
"uninstallerIcon": "build/icons/icon.ico",
"installerHeaderIcon": "build/icons/icon.ico",
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
}
}
}