Template react app with batteries included π
- Vite
- Vitest (testing for Vite)
- Playwright (testing end-to-end)
- Typescript
- TanStack Store
- TanStack Router
- StyleX
- React Scan (local development)
- Cosmos (local development / lightweight
Storybookalternative) - Custom
bootstrap.ts- Build scriptpersist.ts- Persister for TanStack Store- Components
- Utils and helper functions
Checkout Adrift Native to run Adrift apps natively on Windows, Mac, and Linux.
Quick start, get up an running in one command:
git clone https://github.com/hmerritt/adrift && cd adrift && yarn && yarn devClone this repo and run one of the following scripts:
Available scripts (run using yarn <script> or npm run <script>):
dev- starts Vite dev server for local developmenttest- runs all test filespreview- similar todev, but uses production mode to simulate the final buildbuild- builds the project todistdirectorycosmos- Cosmos dev server