chore(init): initial commit
This commit is contained in:
commit
c33ecc3043
30 files changed
+6680
No files matched your search
@@ -0,0 +1,37 @@
|
||||
# new
|
||||
|
||||
Application web SPA PWA (React + TypeScript + Tailwind CSS + Vite).
|
||||
|
||||
## Prérequis
|
||||
|
||||
- Node.js >= 20.19.0 (ou >= 22.12.0)
|
||||
- pnpm >= 9
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pnpm install
|
||||
```
|
||||
|
||||
## Commandes
|
||||
|
||||
| Commande | Description |
|
||||
| -------------------- | ------------------------------------------------------------- |
|
||||
| `pnpm dev` | Serveur de développement |
|
||||
| `pnpm build` | Build de production + PWA (dist/) |
|
||||
| `pnpm preview` | Prévisualisation du build en local |
|
||||
| `pnpm test` | Tests unitaires (Vitest) |
|
||||
| `pnpm test:watch` | Tests en mode watch |
|
||||
| `pnpm test:coverage` | Tests + rapport de couverture (coverage/) |
|
||||
| `pnpm lint` | Lint ESLint |
|
||||
| `pnpm format` | Formatage Prettier |
|
||||
| `pnpm typecheck` | Vérification TypeScript |
|
||||
| `pnpm check` | Chaîne qualité : lint → format → typecheck → tests → coverage |
|
||||
|
||||
## Environnement
|
||||
|
||||
Copiez `.env.example` vers `.env` pour définir les variables (préfixe `VITE_`).
|
||||
|
||||
## Licence
|
||||
|
||||
MIT — voir [LICENSE](LICENSE).
|
||||
Reference in new issue
Block a user