/
package.json
79 lines (79 loc) · 1.86 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
{
"name": "Whistle",
"version": "1.1.4",
"description": "Whistle Web Debugging Proxy",
"main": "./lib/index.js",
"author": "avenwu <avwu@qq.com>",
"scripts": {
"build:win": "electron-builder --win --x64",
"build:mac": "electron-builder --mac",
"release:win": "electron-builder --win --x64 -p always",
"release:mac": "electron-builder --mac -p always",
"lint": "eslint --fix lib",
"lintfix": "npm run lint",
"start": "electron ./lib"
},
"build": {
"productName": "Whistle",
"appId": "whistle.client",
"asar": false,
"artifactName": "${productName}-v${version}-${os}-${arch}.${ext}",
"copyright": "avenwu",
"compression": "normal",
"extends": null,
"publish": [
{
"provider": "github",
"owner": "avwo",
"repo": "whistle-client",
"releaseType": "draft"
}
],
"protocols": [
{
"name": "whistle",
"schemes": [
"whistle"
]
}
],
"mac": {
"icon": "public/dock.png",
"target": {
"target": "dmg",
"arch": [
"arm64",
"x64"
]
}
},
"win": {
"icon": "public/whistle.png",
"target": "nsis"
},
"nsis": {
"oneClick": true,
"perMachine": true,
"runAfterFinish": true,
"include": "installer.nsh"
}
},
"devDependencies": {
"electron": "~25.9.8",
"electron-builder": "^24.4.0",
"eslint": "^8.45.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0"
},
"dependencies": {
"electron-context-menu": "^3.6.1",
"fs-extra": "^11.1.1",
"npminstall": "^7.9.0",
"sudo-prompt": "^9.2.1",
"whistle": "^2.9.70",
"whistle.proxyauth": "^1.1.1"
}
}