- 将多个组件中的背景图片样式替换为 SmartBackground 组件 - 在 CenterModal 中新增 isShowClose 属性控制关闭按钮显示 - 新增 DesktopAutoSettingModal 组件实现自动设置功能 - 新增 DesktopProceduresModal 和 DesktopWithdrawTopupModal 组件 - 配置 shadcn/ui 并集成 Geist 字体和动画库 - 更新 CSS 样式添加暗色主题变量和输入框样式 - 修复 utils 导入路径错误问题
74 lines
2.0 KiB
JSON
74 lines
2.0 KiB
JSON
{
|
|
"name": "react-spa-template",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"commit": "cz",
|
|
"dev": "pnpm generate-routes && vite",
|
|
"build": "pnpm generate-routes && tsc -b && vite build",
|
|
"generate-routes": "tsr generate",
|
|
"lint": "biome check .",
|
|
"lint:fix": "biome check --write .",
|
|
"format": "biome format --write .",
|
|
"prepare": "husky",
|
|
"preview": "vite preview"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,json,jsonc,css,md,html}": [
|
|
"biome check --write"
|
|
]
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "cz-conventional-changelog"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/geist": "^5.2.8",
|
|
"@tanstack/react-query": "^5.99.0",
|
|
"@tanstack/react-query-devtools": "^5.99.0",
|
|
"@tanstack/react-router": "^1.168.22",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"dayjs": "^1.11.20",
|
|
"i18next": "^26.0.5",
|
|
"ky": "^2.0.1",
|
|
"lottie-web": "^5.13.0",
|
|
"lucide-react": "^1.9.0",
|
|
"motion": "^12.38.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"react-i18next": "^17.0.3",
|
|
"shadcn": "^4.7.0",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tw-animate-css": "^1.4.0",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.29.0",
|
|
"@biomejs/biome": "2.4.12",
|
|
"@commitlint/cli": "20.5.0",
|
|
"@commitlint/config-conventional": "20.5.0",
|
|
"@rolldown/plugin-babel": "^0.2.2",
|
|
"@tailwindcss/vite": "^4.2.2",
|
|
"@tanstack/router-cli": "^1.166.33",
|
|
"@tanstack/router-plugin": "^1.167.22",
|
|
"@types/babel__core": "^7.20.5",
|
|
"@types/node": "^24.12.2",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
"commitizen": "4.3.1",
|
|
"cz-conventional-changelog": "3.3.0",
|
|
"husky": "9.1.7",
|
|
"lint-staged": "16.4.0",
|
|
"postcss": "^8.5.12",
|
|
"tailwindcss": "^4.2.2",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.0.4"
|
|
}
|
|
}
|