mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-17 04:53:58 +00:00
- Drop orders routes, API, MSW, and e2e; users-only CRUD template - Port HTTP refresh, hooks, RouteError, and core e2e to basic - Lingui extract --clean in script; refresh catalogs - Update add-resource docs, cursor rule, and optimization spec Made-with: Cursor
58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"name": "antd-admin-basic",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vp dev",
|
|
"build": "tsc && vp build",
|
|
"preview": "vp preview",
|
|
"prepare": "vp config",
|
|
"fmt": "vp fmt",
|
|
"lint": "vp lint",
|
|
"check": "vp check --no-fmt",
|
|
"test:unit": "vitest run",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:core": "playwright test e2e/login.spec.ts e2e/users.spec.ts e2e/auth-refresh.spec.ts e2e/rbac.spec.ts e2e/url-state.spec.ts",
|
|
"test:e2e:ui": "playwright test --ui"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-query": "^5.90.21",
|
|
"@tanstack/react-router": "^1.167.4",
|
|
"antd": "^6.3.3",
|
|
"lucide-react": "^1.7.0",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"zod": "^4.3.6",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.58.2",
|
|
"@tanstack/router-plugin": "^1.166.13",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react-swc": "^4.3.0",
|
|
"msw": "^2.12.12",
|
|
"typescript": "~5.9.3",
|
|
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
|
|
"vite-plus": "latest",
|
|
"vitest": "3.0.5"
|
|
},
|
|
"packageManager": "pnpm@10.32.1",
|
|
"pnpm": {
|
|
"overrides": {
|
|
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
|
|
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"esbuild",
|
|
"msw"
|
|
]
|
|
},
|
|
"msw": {
|
|
"workerDirectory": [
|
|
"public"
|
|
]
|
|
}
|
|
}
|