Files
2026-08-28 05:24:30 +08:00

77 lines
2.2 KiB
JSON

{
"name": "admin-ui",
"version": "1.0.0",
"private": true,
"description": "Reusable game operations administration UI.",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview --host 0.0.0.0 --port 19999",
"lint": "oxlint src .storybook vite.config.js vitest.config.ts",
"lint:fix": "oxlint --fix src .storybook vite.config.js vitest.config.ts",
"lint:deprecated": "oxlint --type-aware -A all -D typescript/no-deprecated src",
"format": "oxfmt src .storybook vite.config.js vitest.config.ts",
"format:check": "oxfmt --check src .storybook vite.config.js vitest.config.ts",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"dependencies": {
"@ant-design/icons": "^6.3.2",
"@hookform/resolvers": "^5.9.1",
"@tanstack/react-query": "^5.102.2",
"antd": "^6.6.1",
"dayjs": "^1.11.23",
"i18next": "^26.4.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-hook-form": "^7.86.0",
"react-i18next": "^17.0.12",
"react-router": "^8.3.0",
"uplot": "^1.6.32",
"zod": "^4.4.3"
},
"devDependencies": {
"@storybook/addon-a11y": "^10.5.10",
"@storybook/addon-docs": "^10.5.10",
"@storybook/addon-vitest": "^10.5.10",
"@storybook/react-vite": "^10.5.10",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.5",
"@vitejs/plugin-react": "^6.1.0",
"@vitest/browser-playwright": "4.1.11",
"@vitest/coverage-v8": "^4.1.11",
"jsdom": "^30.0.1",
"lint-staged": "^17.3.0",
"msw": "^2.15.0",
"oxfmt": "0.64.0",
"oxlint": "1.79.0",
"oxlint-tsgolint": "^7.0.2001",
"playwright": "^1.62.1",
"storybook": "^10.5.10",
"typescript": "7.0.2",
"vite": "8.2.2",
"vitest": "^4.1.11"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"oxfmt",
"oxlint --fix"
]
},
"engines": {
"node": ">=24.0.0",
"npm": ">=10.0.0"
},
"msw": {
"workerDirectory": [
"public"
]
}
}