-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.23 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.23 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
{
"name": "xray-routing-gui",
"version": "1.0.0",
"description": "GUI editor for xray-core routing rules",
"main": "out/main/index.js",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"generate:icons": "node scripts/generate-icons.mjs",
"start": "electron-vite preview",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"dist:mac": "electron-vite build && electron-builder --mac",
"dist:win": "electron-vite build && electron-builder --win --x64",
"dist:linux": "electron-vite build && electron-builder --linux --x64"
},
"build": {
"appId": "com.xray.routing-gui",
"artifactName": "${productName}.${ext}",
"productName": "Xray Routing Editor",
"directories": {
"buildResources": "build",
"output": "dist"
},
"extraResources": [
{
"from": "build/icon.png",
"to": "icon.png"
}
],
"files": [
"out/**/*"
],
"mac": {
"icon": "build/icon.icns",
"target": [
"dmg",
"zip"
]
},
"win": {
"icon": "build/icon.ico",
"target": [
{
"target": "portable",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"linux": {
"icon": "build/icon.png",
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
}
]
}
},
"devDependencies": {
"@playwright/test": "^1.54.2",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^20.14.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"electron": "^31.3.1",
"electron-builder": "^24.13.3",
"electron-vite": "^2.3.0",
"happy-dom": "^15.11.7",
"jsdom": "^29.0.2",
"typescript": "^5.5.3",
"vite": "^5.3.4",
"vitest": "^2.1.9"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}