Pomodoro timer web app built with SvelteKit 2, Svelte 5, TailwindCSS 4, and TypeScript. Supports PWA installation with offline capability.
npm install
npm run devUses Svelte 5 runes ($state, $derived, $props), not legacy stores. Code style enforced by JavaScript Standard (no semicolons, single quotes).
npm run dev # Start dev server
npm run build # Production build
npm run preview # Preview production build
npm run check # Type check
npm run check:watch # Type check (watch mode)
npm run lint # Lint code
npm run format # Auto-fix lint issues
npm test # Run tests (watch mode)
npm run test:ui # Run tests with UI
npm run test:coverage # Run tests with coverageTests use Vitest + @testing-library/svelte. Test files located in __tests__/ directories alongside components.
# Run specific test file
npm test -- path/to/test.test.tsMerges to main automatically deploy to Cloudflare Pages.