-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) 路 1.73 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (53 loc) 路 1.73 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
{
"name": "mihomo-profile-hub",
"private": true,
"version": "0.1.0",
"description": "A private Mihomo YAML profile generator and link manager for Cloudflare Workers.",
"repository": {
"type": "git",
"url": "git+https://github.com/Atsea111/Mihomo-Hub.git"
},
"homepage": "https://github.com/Atsea111/Mihomo-Hub#readme",
"bugs": {
"url": "https://github.com/Atsea111/Mihomo-Hub/issues"
},
"type": "module",
"engines": {
"node": ">=22.12.0"
},
"scripts": {
"dev": "vite --host 0.0.0.0 --port 8787",
"build": "tsc --noEmit && vite build",
"preview": "vite preview --host 0.0.0.0 --port 8787",
"prepare:deploy": "node ./scripts/inject-d1-id.mjs",
"deploy:built": "npm run prepare:deploy && wrangler deploy",
"deploy": "npm run build && npm run deploy:built",
"check": "npm test && npm run build",
"test": "vitest run",
"test:watch": "vitest",
"db:migrate:local": "wrangler d1 migrations apply mihomo-hub --local",
"db:migrate:remote:built": "npm run prepare:deploy && wrangler d1 migrations apply DB --remote --config dist/mihomo_hub/wrangler.json",
"db:migrate:remote": "npm run build && npm run db:migrate:remote:built",
"cf-typegen": "wrangler types"
},
"dependencies": {
"hono": "4.13.3",
"lucide-react": "1.32.0",
"react": "19.2.8",
"react-dom": "19.2.8",
"react-router-dom": "7.18.2",
"yaml": "2.9.0",
"zod": "4.4.3"
},
"devDependencies": {
"@cloudflare/vite-plugin": "1.53.0",
"@cloudflare/workers-types": "5.20260818.1",
"@types/react": "19.2.18",
"@types/react-dom": "19.2.4",
"@vitejs/plugin-react": "6.0.5",
"typescript": "7.0.2",
"vite": "8.2.1",
"vitest": "4.1.11",
"wrangler": "4.124.0"
}
}