-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.66 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.66 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
{
"name": "cf-moedict-webkit-neo",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"generate-c-index": "node commands/generateCIndex.js",
"predev": "bun run build-search-index && bun run build-pinyin-lookup",
"prebuild": "bun run build-search-index && bun run build-pinyin-lookup",
"build-search-index": "node scripts/build-search-index.mjs",
"build-pinyin-lookup": "node scripts/build-pinyin-lookup.mjs",
"dev": "vite",
"dev:remote": "VITE_CLOUDFLARE_REMOTE_DEV=1 vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"typecheck": "tsgo -b --noEmit",
"typecheck:tsc": "tsc -b --noEmit",
"smoke:sub-routes": "bun scripts/smoke-sub-routes.mjs",
"seed:fixtures": "bun tests/seed-fixtures.mjs",
"test": "bun run test:unit && bun run test:integration && bun run test:e2e",
"test:unit": "vitest run --config vitest.unit.config.ts",
"test:unit:watch": "vitest --config vitest.unit.config.ts",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:e2e": "playwright test --project=chromium",
"test:e2e:update": "playwright test --update-snapshots",
"test:e2e:visual": "playwright test --project=visual",
"test:e2e:visual:update": "playwright test --project=visual --update-snapshots",
"test:coverage": "rm -rf coverage && bun run test:unit -- --coverage && bun run test:integration -- --coverage && bun run test:coverage:e2e && bun scripts/merge-coverage.mjs",
"test:coverage:e2e": "E2E_COVERAGE=1 bun run build && E2E_COVERAGE=1 E2E_SKIP_BUILD=1 playwright test --project=chromium",
"preview": "bun run build && wrangler dev",
"deploy": "bun run build && wrangler deploy",
"cf-typegen": "wrangler types"
},
"dependencies": {
"@cf-wasm/resvg": "^0.1.24",
"fuse.js": "^7.1.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-router-dom": "^7.13.1"
},
"devDependencies": {
"@cloudflare/vite-plugin": "^1.25.5",
"@eslint/js": "^9.33.0",
"@playwright/test": "^1.59.1",
"@types/node": "^24.7.2",
"@types/react": "^19.1.10",
"@types/react-dom": "^19.1.7",
"@typescript/native-preview": "7.0.0-dev.20260420.1",
"@vitejs/plugin-react": "^5.0.0",
"@vitest/coverage-v8": "^4.1.4",
"eslint": "^9.33.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"happy-dom": "^20.9.0",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-report": "^3.0.1",
"istanbul-reports": "^3.2.0",
"miniflare": "^4.20260415.0",
"tsx": "^4.21.0",
"typescript": "~5.8.3",
"typescript-eslint": "^8.39.1",
"v8-to-istanbul": "^9.3.0",
"vite": "^7.3.2",
"vitest": "^4.1.4",
"wrangler": "^4.68.1"
},
"overrides": {
"undici": "^7.24.0"
}
}