-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 4.38 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 4.38 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
{
"name": "wendao-frontend",
"version": "1.0.0",
"private": true,
"exports": {
"./runtime": {
"types": "./dist/runtime/runtime/index.d.ts",
"import": "./dist/runtime/runtime/index.mjs"
}
},
"files": [
"README.md",
"dist/runtime"
],
"scripts": {
"dev": "rspack dev",
"build": "npm run build:runtime && rspack build && node scripts/check-build-size.mjs",
"build:runtime": "tsc -p tsconfig.runtime.json && node scripts/build/runtime-package.mjs",
"build:mermaid-report": "node scripts/mermaid-bundle-report.mjs",
"generate:flight-client": "node scripts/generate-flight-client.mjs",
"harness": "typescript-project-harness .",
"harness:agent": "typescript-project-harness --agent-snapshot .",
"prepare": "npm run build:runtime",
"preview": "rspack preview",
"test": "vitest run",
"test:hotspot-perf:reset": "rm -f \"${PRJ_CACHE_HOME}/agent/tmp/wendao_frontend_hotspot_perf_traces.json\"",
"test:hotspot-perf": "npm run test:hotspot-perf:reset && npm run test:hotspot-perf:core && npm run test:hotspot-perf:zen-search",
"test:hotspot-perf:core": "QIANJI_WRITE_HOTSPOT_PERF_REPORT=1 vitest run --no-file-parallelism src/components/SearchBar/__tests__/SearchInputHeader.test.tsx src/components/SearchBar/__tests__/SearchSuggestionsPanel.test.tsx src/components/SearchBar/__tests__/SearchResultsPanel.test.tsx src/components/SearchBar/__tests__/useSearchDerivedState.test.tsx src/components/SearchBar/__tests__/useSearchBarControllerPresentation.test.tsx src/components/SearchBar/__tests__/SearchBarHotspotPerf.test.tsx src/components/SearchBar/interface/autocomplete/__tests__/useSearchAutocompleteInterfacePerf.test.tsx src/App.test.tsx",
"test:hotspot-perf:zen-search": "QIANJI_WRITE_HOTSPOT_PERF_REPORT=1 vitest run --no-file-parallelism src/components/ZenSearch/__tests__/ZenSearchWorkspace.test.tsx src/components/ZenSearch/__tests__/useZenSearchPreview.test.tsx",
"test:live-gateway": "RUN_LIVE_GATEWAY_TEST=1 STUDIO_LIVE_GATEWAY_URL=${STUDIO_LIVE_GATEWAY_URL:-http://127.0.0.1:9517} vitest run src/api/liveGateway.test.ts",
"test:live-flight-perf": "RUN_LIVE_GATEWAY_TEST=1 STUDIO_LIVE_GATEWAY_URL=${STUDIO_LIVE_GATEWAY_URL:-http://127.0.0.1:9517} vitest run src/api/liveFlightSearchPerf.test.ts",
"test:live-zen-search-perf": "RUN_LIVE_GATEWAY_TEST=1 STUDIO_LIVE_GATEWAY_URL=${STUDIO_LIVE_GATEWAY_URL:-http://127.0.0.1:9517} vitest run src/api/liveZenSearchPerf.test.ts"
},
"dependencies": {
"@bufbuild/protobuf": "2.11.0",
"@connectrpc/connect": "2.1.1",
"@connectrpc/connect-web": "2.1.1",
"apache-arrow": "^21.1.0"
},
"devDependencies": {
"@ai-sdk/react": "^3.0.161",
"@algolia/autocomplete-core": "^1.19.8",
"@bufbuild/protoc-gen-es": "2.11.0",
"@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.6.0",
"@react-three/postprocessing": "^3.0.4",
"@rspack/cli": "^1.7.11",
"@rspack/core": "^1.7.11",
"@rspack/plugin-react-refresh": "^1.6.2",
"@shikijs/core": "^4.0.2",
"@shikijs/engine-oniguruma": "^4.0.2",
"@shikijs/langs": "^4.0.2",
"@shikijs/themes": "^4.0.2",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/katex": "^0.16.8",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",
"@types/three": "^0.183.1",
"@vidstack/react": "^1.12.13",
"ai": "^6.0.159",
"beautiful-mermaid": "^1.1.3",
"bpmn-js": "^18.14.0",
"framer-motion": "^12.38.0",
"jsdom": "^29.0.2",
"katex": "^0.16.45",
"lucide-react": "^1.8.0",
"mermaid": "^11.14.0",
"postprocessing": "^6.39.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-markdown": "^10.1.0",
"react-pdf": "^10.4.1",
"react-refresh": "^0.18.0",
"react-virtuoso": "^4.18.4",
"react-zoom-pan-pinch": "^4.0.3",
"rehype-katex": "^7.0.1",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"smol-toml": "^1.6.0",
"three": "^0.183.2",
"typescript": "^6.0.2",
"typescript-lang-project-harness": "git+https://github.com/tao3k/typescript-lang-project-harness.git#f824aa682afffac3cdbb24a7b3e81bd9c4baaf37",
"vidstack": "^1.12.13",
"vitest": "^4.1.4",
"zustand": "^5.0.12"
},
"overrides": {
"@bufbuild/protobuf": "2.11.0",
"@bufbuild/protoc-gen-es": "2.11.0",
"@connectrpc/connect": "2.1.1",
"@connectrpc/connect-web": "2.1.1"
}
}