forked from mellow-io/mellow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 2.46 KB
/
package.json
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
{
"name": "Mellow",
"version": "0.1.6",
"main": "src/main.js",
"scripts": {
"test": "jest",
"start": "electron .",
"pack": "electron-builder --dir",
"distmac": "CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -m",
"distwin": "electron-builder -w",
"distlinux": "electron-builder -l",
"dlgeo": "bash scripts/dl_mmdb.sh && bash scripts/dl_geosite.sh"
},
"devDependencies": {
"electron": "^6.0.0",
"electron-builder": "^21.2.0",
"jest": "^24.9.0"
},
"dependencies": {
"auto-launch": "^5.0.5",
"base64url": "^3.0.1",
"default-gateway": "^5.0.4",
"electron-log": "^3.0.7",
"electron-prompt": "^1.3.1",
"electron-store": "^4.0.0",
"module-alias": "eycorsican/module-alias",
"netmask": "^1.0.6",
"semver": "^6.3.0",
"sudo-prompt": "eycorsican/sudo-prompt"
},
"jest": {
"moduleNameMapper": {
"^@mellow(.*)$": "<rootDir>/src/$1"
}
},
"moduleAliases": {
"@mellow": "src"
},
"build": {
"appId": "org.mellow.mellow",
"mac": {
"icon": "src/assets/icon.png",
"extraResources": [
{
"from": "src/helper/darwin",
"to": "src/helper",
"filter": [
"core",
"install_helper",
"md5sum",
"route"
]
},
"src/helper/geosite.dat",
"src/helper/geo.mmdb"
]
},
"win": {
"icon": "src/assets/icon.png",
"requestedExecutionLevel": "requireAdministrator",
"extraResources": [
{
"from": "src/helper/win32",
"to": "src/helper",
"filter": [
"core.exe",
"ensure_tap_device.bat",
"config_route.bat",
"recover_route.bat",
"tap-windows6"
]
},
{
"from": "src/helper/win32/tap-windows6",
"to": "src/helper/tap-windows6",
"filter": [
"*"
]
},
"src/helper/geosite.dat",
"src/helper/geo.mmdb"
]
},
"linux": {
"target": "AppImage",
"icon": "src/assets/icon.png",
"extraResources": [
{
"from": "src/helper/linux",
"to": "src/helper",
"filter": [
"config_route",
"recover_route",
"core",
"install_helper",
"md5sum",
"ip"
]
},
"src/helper/geosite.dat",
"src/helper/geo.mmdb"
]
}
}
}