- Install tailwindcss @tailwindcss/vite zustand - useGameStore.ts : Zustand store wrappant economy.ts (tick, click, buy, prestige, buyNode, loadFromServer) - GameTick.tsx : composant timer 1s - GeneratorShop.tsx : boutique générateurs Tailwind (remplace Amelioration.jsx) - EvolutionTree, PrestigePanel, MilestoneBar : rewrite Zustand + Tailwind - Hud.jsx : rewrite Zustand + Tailwind (suppression Hud.scss) - BoutiqueCard, Achievements : migrés vers Zustand - Supprimé : WildCoin/ (4 fichiers), timer/Timer.jsx, useEconomy.ts, Hud.scss - WildCoinProvider retiré de main.jsx
37 lines
946 B
JSON
Executable File
37 lines
946 B
JSON
Executable File
{
|
|
"name": "template",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
|
|
"preview": "vite preview",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.2.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-helmet": "^6.1.0",
|
|
"react-lottie-player": "^1.5.5",
|
|
"react-router-dom": "^6.19.0",
|
|
"sass": "^1.69.5",
|
|
"tailwindcss": "^4.2.2",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.28",
|
|
"@types/react-dom": "^18.2.15",
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
"eslint": "^8.53.0",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^5.0.0",
|
|
"vitest": "^4.1.0"
|
|
}
|
|
}
|