This project was bootstrapped as a Svelte 5 project.
All default tooling setup via the above command is used, which includes:
- Vite (Module Loader)
- Vitest (Unit Test Framework)
- Playwright (e2e Testing Framework)
- Svelte Kit (Application Framework)
The example includes server side rendering via a universal load function in src/routes/universal-ssr, and a server-only load function in src/routes/server-only-ssr. Run the app to see them in action.
Runs the app in development mode.
The page will reload if you make edits.
You will also see any lint errors in the console.
Build the app using Vite.
Run unit tests via the Vitest framework and Svelte Testing Library.
Run e2e tests via the Playwright framework.
Use buf
to generate the compiled protos via protobuf-es.
The following commands are also available via the Svelte starter project:
Previews a built application on port 3000. Note that npm run build
must be run initially or an error will occur.
Runs check against files for TypeScript errors.
Runs check and also watches for changes.