update readme
This commit is contained in:
@@ -2,6 +2,26 @@
|
|||||||
|
|
||||||
This template should help get you started developing with Svelte in Vite.
|
This template should help get you started developing with Svelte in Vite.
|
||||||
|
|
||||||
|
## Running the app
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install
|
||||||
|
npm run dev
|
||||||
|
```
|
||||||
|
|
||||||
|
## Running tests
|
||||||
|
|
||||||
|
- **Watch mode** (re-runs on file changes):
|
||||||
|
`npm run test`
|
||||||
|
|
||||||
|
- **Single run** (CI-friendly):
|
||||||
|
`npm run test:run`
|
||||||
|
|
||||||
|
- **Coverage report**:
|
||||||
|
`npm run test:coverage`
|
||||||
|
|
||||||
|
Tests use Vitest and `@testing-library/svelte`. Place test files next to the code they cover (e.g. `Component.test.js` beside `Component.svelte`) or in a `__tests__` directory.
|
||||||
|
|
||||||
## Recommended IDE Setup
|
## Recommended IDE Setup
|
||||||
|
|
||||||
[VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).
|
[VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).
|
||||||
|
|||||||
Reference in New Issue
Block a user