Files
36-character-flower/package.json
JiaJun c3059549e6 feat(game): 实现精灵图渲染优化游戏性能
- 新增 AnimalSpriteImage 组件用于精灵图渲染
- 集成精灵图渲染到桌面版动物组件
- 集成精灵图渲染到移动版动物组件
- 重构历史记录组件使用精灵图渲染
- 更新动物覆盖层组件使用精灵图渲染
- 移除旧的单个图片资源引用
- 添加精灵图生成脚本和相关配置
- 优化启动资源加载排除精灵图源文件
- 添加精灵图位置计算工具函数
2026-06-10 16:38:00 +08:00

86 lines
2.5 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-animal-sprite": "node scripts/generate-animal-sprite.mjs",
"generate-reward-sprite": "node scripts/generate-reward-sprite.mjs",
"generate-sprites": "pnpm generate-animal-sprite && pnpm generate-reward-sprite",
"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",
"@hookform/resolvers": "^5.2.2",
"@tanstack/react-query": "^5.99.0",
"@tanstack/react-query-devtools": "^5.99.0",
"@tanstack/react-router": "^1.168.22",
"@tanstack/react-virtual": "^3.13.24",
"@types/md5": "^2.3.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.20",
"embla-carousel-auto-scroll": "^8.6.0",
"embla-carousel-react": "^8.6.0",
"i18next": "^26.0.5",
"ky": "^2.0.1",
"lottie-web": "^5.13.0",
"lucide-react": "^1.9.0",
"md5": "^2.3.0",
"motion": "^12.38.0",
"radix-ui": "^1.4.3",
"react": "19.2.5",
"react-dom": "19.2.5",
"react-hook-form": "^7.75.0",
"react-i18next": "^17.0.3",
"shadcn": "^4.7.0",
"tailwind-merge": "^3.5.0",
"tw-animate-css": "^1.4.0",
"zod": "^4.4.3",
"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",
"sharp": "^0.34.5",
"tailwindcss": "^4.2.2",
"typescript": "~6.0.2",
"vite": "^8.0.4"
}
}