-
Notifications
You must be signed in to change notification settings - Fork 74
/
package.json
114 lines (114 loc) · 2.76 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
106
107
108
109
110
111
112
113
114
{
"name": "Agora-Electron-API-Example",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"postinstall": "npm run rebuild",
"start": "electron-webpack dev",
"compile": "electron-webpack",
"rebuild": "electron-rebuild -f -o ref-napi",
"dist": "npm run compile && electron-builder",
"dist:mac": "npm run dist -- --mac",
"dist:win": "npm run dist -- --win",
"dist:win32": "npm run dist:win -- --ia32",
"dist:win64": "npm run dist:win -- --x64"
},
"build": {
"appId": "agora.io.ElectronApiExample",
"asar": true,
"asarUnpack": [
"node_modules/agora-electron-sdk"
],
"buildDependenciesFromSource": true,
"compression": "normal",
"productName": "Agora-Electron-API-Example",
"publish": [],
"files": [
"!*.log"
],
"mac": {
"entitlements": "assets/entitlements.mac.plist",
"entitlementsInherit": "assets/entitlements.mac.plist",
"gatekeeperAssess": false,
"hardenedRuntime": true,
"identity": null,
"target": [
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
],
"type": "distribution"
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": [
"zip"
]
},
"linux": {
"category": "Development",
"target": [
"AppImage"
]
},
"directories": {
"buildResources": "assets"
},
"extraResources": [
"./extraResources/**"
]
},
"dependencies": {
"agora-electron-sdk": "4.5.0",
"antd": "^4.20.3",
"download": "^8.0.0",
"koffi": "2.8.11",
"react": "^18.1.0",
"react-color": "^2.19.3",
"react-dom": "^18.1.0",
"react-router-dom": "^5.2.0",
"recharts": "^2.1.13",
"ref-napi": "^3.0.3",
"source-map-support": "^0.5.16"
},
"devDependencies": {
"@babel/preset-react": "^7.16.7",
"@electron/rebuild": "^3.6.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.6",
"@teamsupercell/typings-for-css-modules-loader": "^2.5.1",
"@types/download": "^8.0.2",
"@types/react": "^18.1.0",
"@types/react-color": "^3.0.6",
"@types/react-dom": "^18.0.3",
"@types/react-router-dom": "^5.1.6",
"@types/ref-napi": "^3.0.7",
"electron": "22.0.0",
"electron-builder": "^23.1.0",
"electron-webpack": "^2.8.2",
"fork-ts-checker-webpack-plugin": "^4.1.2",
"react-refresh": "^0.13.0",
"sass": "^1.56.2",
"sass-loader": "~10.2.1",
"style-loader": "^2.0.0",
"ts-loader": "^8.4.0",
"typescript": "^4.5.2",
"webpack": "^4.43.0"
}
}