55 lines
1.7 KiB
JSON
55 lines
1.7 KiB
JSON
{
|
|
"name": "@llm-wiki-agent/web",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"description": "llm-wiki-agent 前端:Vite + React + shadcn/ui",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"prebuild": "npm run build -w @llm-wiki/graph-engine",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview",
|
|
"test": "npm run test:unit && npm run test:dom",
|
|
"test:unit": "node --import tsx --test test/*.test.ts",
|
|
"test:dom": "node --test-concurrency=1 --import tsx --import ./test/setup-dom.ts --test test/*.test.tsx",
|
|
"visual:paper": "node --import tsx test/visual/paper-ui.ts",
|
|
"pretypecheck": "npm run build -w @llm-wiki/graph-engine",
|
|
"typecheck": "tsc -b --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@llm-wiki/graph-engine": "0.0.0",
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"lucide-react": "^1.16.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "^19.2.6",
|
|
"react-dom": "^19.2.6",
|
|
"react-markdown": "^9.1.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"tailwind-merge": "^2.5.4",
|
|
"tailwindcss": "^4.0.0",
|
|
"tw-animate-css": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/node": "^24.12.3",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"eslint": "^10.3.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"globals": "^17.6.0",
|
|
"jsdom": "^29.1.1",
|
|
"playwright": "^1.61.0",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "^8.59.2",
|
|
"vite": "^8.0.12"
|
|
}
|
|
}
|