I create this with create-svelte
and svelte-add
. Then I did some manual changes.
- TypeScript
- Playwright
- Eslint & Prettier
- ViTest
- VSCode settings & extension recommendations
- PostCSS with DaisyUI (TailwindCSS), cssnano, import & nesting plugins
- @sveltejs/adapter-node and @sveltejs/adapter-static + an easy way to switch between them
- PNPM lockfile
- Minimal DaisyUI and Svelte usage examples
pnpm start:node
to build and run the production node server (SSR)pnpm start:static
to build the static site and open the index.html in your browserpnpm dev
to run dev serverpnpm test
to do unit and integrationt ests- Check package.json for more commands