Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.64 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 1.64 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
{
"name": "scanshare",
"version": "1.0.1",
"description": "扫享 ScanShare - 扫码即享,轻松传输",
"main": "electron-main.js",
"scripts": {
"start": "node server.js",
"electron": "electron .",
"build:mac": "electron-builder --mac",
"build:mac-dmg": "electron-builder --mac dmg",
"build:win": "electron-builder --win --x64",
"build:msi": "electron-builder --win msi",
"build:exe": "electron-builder --win nsis"
},
"build": {
"appId": "com.zlab.scanshare",
"productName": "扫享 ScanShare",
"mac": {
"target": [
"dmg",
"zip"
],
"category": "public.app-category.utilities",
"icon": "icon.icns"
},
"dmg": {
"title": "扫享 ScanShare",
"backgroundColor": "#4c8cf5",
"window": {
"width": 540,
"height": 380
}
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"uninstallDisplayName": "扫享 ScanShare",
"deleteAppDataOnUninstall": true,
"include": "build/installer.nsh"
},
"files": [
"**/*",
"preload.js",
"!uploads/**/*",
"!BUILD_MSI.md",
"!WINDOWS_INSTALL.md",
"!*.bat"
]
},
"dependencies": {
"express": "^4.18.2",
"multer": "^1.4.5-lts.1",
"qrcode": "^1.5.3",
"socket.io": "^4.6.1"
},
"devDependencies": {
"electron": "^38.4.0",
"electron-builder": "^26.0.12"
}
}