-
-
Notifications
You must be signed in to change notification settings - Fork 330
Expand file tree
/
Copy pathpackage.json
More file actions
207 lines (207 loc) · 7.91 KB
/
Copy pathpackage.json
File metadata and controls
207 lines (207 loc) · 7.91 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "all-api-hub",
"displayName": "All API Hub - 你的全能 AI 资产管家",
"private": true,
"type": "module",
"version": "4.3.0",
"packageManager": "pnpm@12.6.0",
"description": "一站式聚合管理所有AI中转站账号的余额、模型和密钥,告别繁琐登录。",
"engines": {
"node": ">=24",
"pnpm": ">=12 <13"
},
"scripts": {
"dev": "wxt",
"dev:no-browser": "node scripts/dev-no-browser.mjs",
"dev:firefox": "wxt -b firefox",
"dev:mobile:firefox": "node scripts/android-dev.js",
"build": "wxt build",
"build:e2e": "node scripts/e2e-build.mjs",
"build:firefox": "wxt build -b firefox",
"build:safari": "wxt build -b safari",
"build:all": "pnpm run build && pnpm run build:firefox && pnpm run build:safari",
"zip": "wxt zip",
"zip:firefox": "wxt zip -b firefox",
"zip:safari": "wxt zip -b safari",
"zip:all": "pnpm run zip && pnpm run zip:firefox && pnpm run zip:safari",
"compile": "tsc --noEmit",
"commitlint": "commitlint",
"postinstall": "wxt prepare",
"lint": "eslint . && pnpm lint:colors && pnpm lint:typography",
"lint:typography": "node scripts/check-typography.mjs",
"lint:colors": "node scripts/check-color-tokens.mjs",
"lint:fix": "eslint . --fix",
"knip": "knip",
"knip:production:audit": "knip --production --reporter compact --no-exit-code",
"format": "prettier --write .",
"format:check": "prettier --check .",
"validate:staged": "pnpm lint-staged --concurrent false && pnpm run i18n:check:staged && pnpm lint:colors --staged && pnpm lint:typography --staged",
"validate:push": "pnpm compile && pnpm knip",
"validate:push:changed": "node scripts/run-push-check-if-needed.mjs",
"i18n:check:staged": "node scripts/run-i18n-check-if-staged.mjs",
"i18n:status": "i18next-cli status",
"i18n:extract": "i18next-cli extract",
"i18n:extract:ci": "i18next-cli extract --dry-run --ci --quiet",
"i18n:integrity": "vitest run tests/features/OptionsSearch/searchRegistryKeys.test.ts",
"i18n:prune:report": "node scripts/i18n-prune-report.mjs",
"i18n:sync": "i18next-cli sync",
"test": "vitest --run",
"test:watch": "vitest --watch",
"test:ci": "vitest --run --coverage",
"test:durations": "node scripts/write-unit-test-durations.mjs",
"e2e:install": "playwright install --with-deps chromium",
"e2e": "playwright test",
"e2e:default": "playwright test",
"e2e:dnr-required": "playwright test e2e/dnrRequired --project=chromium --workers=1 --timeout=120000",
"e2e:bookmarks-required": "playwright test e2e/accountBookmarkImportBrowserFlow --project=chromium",
"e2e:real-site": "node scripts/real-site-e2e-cli.mjs all",
"e2e:real-site:account": "node scripts/real-site-e2e-cli.mjs account",
"e2e:real-site:cloud-sync": "node scripts/real-site-e2e-cli.mjs cloud-sync",
"e2e:real-site:category": "node scripts/real-site-e2e-cli.mjs",
"e2e:real-site:managed-site": "node scripts/real-site-e2e-cli.mjs managed-site",
"e2e:real-site:ctfile": "node scripts/e2e-webdav-provider.mjs ctfile",
"e2e:real-site:nutstore": "node scripts/e2e-webdav-provider.mjs nutstore",
"e2e:real-site:opencloud": "node scripts/e2e-webdav-provider.mjs opencloud",
"e2e:real-site:webdav": "node scripts/real-site-e2e-cli.mjs webdav",
"e2e:real-site:webdav-provider": "node scripts/e2e-webdav-provider.mjs",
"e2e:diagnostics": "node scripts/diagnostics/e2e-diagnostics.mjs",
"env:diagnostics": "node scripts/diagnostics/local-env.mjs",
"e2e:ui": "playwright test --ui",
"browser:cdp": "node scripts/launch-cdp-browser.mjs",
"browser:cdp:isolate": "node scripts/launch-cdp-browser.mjs --isolate",
"browser:sync": "node scripts/sync-extension-profile.mjs",
"browser:sync:isolate": "node scripts/sync-extension-profile.mjs --isolate",
"e2e:cdp": "node scripts/e2e-cdp-control.mjs",
"e2e:cdp:ai-router": "node scripts/test-ai-router-e2e-live.mjs",
"e2e:cdp:rix": "node scripts/test-rix-api-e2e-live.mjs",
"e2e:cdp:omniroute": "node scripts/test-omniroute-e2e-live.mjs",
"e2e:cdp:gpt-load": "node scripts/test-gpt-load-e2e-live.mjs",
"e2e:cdp:kimi": "node scripts/test-kimi-e2e-live.mjs",
"e2e:cdp:grsai": "node scripts/test-grsai-e2e-live.mjs",
"e2e:cdp:laozhang": "node scripts/test-laozhang-e2e-live.mjs",
"prepare": "husky"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"tests/**/*.test.{ts,tsx}": [
"vitest --run"
],
"*.{mjs,cjs}": [
"prettier --write",
"eslint --fix"
],
"*.{json,md,css,scss}": [
"prettier --write"
]
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.110",
"@ai-sdk/google": "^3.0.6",
"@ai-sdk/openai": "^3.0.7",
"@ai-sdk/openai-compatible": "^2.0.4",
"@base-ui/react": "^1.1.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@lobehub/fluent-emoji": "^4.1.0",
"@lobehub/icons": "^5.13.0",
"@lobehub/ui": "^5.20.3",
"@plasmohq/storage": "^1.15.0",
"@tanstack/react-query": "^5.90.12",
"@tanstack/react-table": "^8.21.3",
"@webext-core/messaging": "^3.0.1",
"ai": "^6.0.16",
"antd": "^6.5.1",
"autoprefixer": "^10.4.21",
"chrono-node": "^2.9.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"date-fns": "^4.4.0",
"dayjs": "^1.11.13",
"dompurify": "3.2.6",
"echarts": "^6.0.0",
"fast-uri": "4.1.4",
"framer-motion": "^12.23.24",
"i18next": "^25.6.0",
"i18next-browser-languagedetector": "^8.2.0",
"input-otp": "^1.4.2",
"lodash-es": "^4.17.21",
"lucide-react": "^0.564.0",
"marked": "16.4.0",
"otpauth": "^9.5.0",
"p-queue": "9.3.1",
"postcss": "^8.5.6",
"posthog-js": "^1.428.3",
"qrcode.react": "4.2.0",
"radix-ui": "^1.5.0",
"react": "^19.1.1",
"react-arborist": "^3.10.5",
"react-countup": "^6.5.3",
"react-day-picker": "^10.0.1",
"react-dom": "^19.1.1",
"react-hot-toast": "^2.5.2",
"react-i18next": "^16.0.1",
"react-joyride": "3.2.0",
"react-tooltip": "^5.30.0",
"react-virtuoso": "^4.7.10",
"safe-regex2": "^5.1.1",
"tailwind-merge": "^3.3.1",
"tldts": "7.0.17",
"tw-animate-css": "^1.4.0",
"zod": "^4.3.5"
},
"devDependencies": {
"@commitlint/cli": "^21.2.3",
"@commitlint/config-conventional": "^21.2.3",
"@eslint/js": "^9.38.0",
"@ianvs/prettier-plugin-sort-imports": "4.1.1",
"@playwright/test": "1.58.2",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/postcss": "^4.1.17",
"@tailwindcss/typography": "^0.5.16",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/chrome": "0.0.258",
"@types/firefox-webext-browser": "^120.0.4",
"@types/lodash-es": "^4.17.12",
"@types/node": "^24.12.0",
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.9",
"@types/webextension-polyfill": "^0.12.4",
"@vitest/coverage-v8": "^4.0.3",
"@wxt-dev/auto-icons": "^1.1.2",
"@wxt-dev/module-react": "^1.2.2",
"eslint": "^9.38.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsdoc": "^61.4.1",
"eslint-plugin-react-hooks": "^5.2.0",
"flatted": "^3.4.2",
"globals": "^16.4.0",
"husky": "^9.1.7",
"i18next-cli": "^1.50.3",
"jsdom": "^27.0.1",
"knip": "^6.0.4",
"lint-staged": "^16.2.6",
"msw": "^2.11.6",
"postcss-value-parser": "4.2.0",
"prettier": "3.2.4",
"prettier-plugin-tailwindcss": "^0.7.1",
"publish-browser-extension": "^4.0.5",
"react-devtools": "^7.0.1",
"shadcn": "^3.6.3",
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3",
"typescript-eslint": "^8.45.0",
"vite": "^7.3.2",
"vitest": "^4.0.3",
"web-ext": "^9.4.0",
"whatwg-fetch": "^3.6.20",
"wxt": "^0.21.4"
}
}