Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/citrusprod/svelte-kit-starter
Starter template for SvelteKit application.
https://github.com/citrusprod/svelte-kit-starter
eslint prettier stylelint svelte sveltekit typescript unocss
Last synced: 5 days ago
JSON representation
Starter template for SvelteKit application.
- Host: GitHub
- URL: https://github.com/citrusprod/svelte-kit-starter
- Owner: CitRUSprod
- Created: 2021-05-08T19:02:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-24T23:52:31.000Z (over 1 year ago)
- Last Synced: 2023-05-25T00:25:12.089Z (over 1 year ago)
- Topics: eslint, prettier, stylelint, svelte, sveltekit, typescript, unocss
- Language: Svelte
- Homepage: https://svelte-kit-starter.netlify.app
- Size: 839 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SvelteKit Starter
### Get started
> **NOTE:** Before using this template, you need to install `pnpm`.
Create a new project based on this template using `degit`:
```sh
pnpx degit CitRUSprod/svelte-kit-starter my-app
cd my-app
pnpm i
```Run in development mode:
```sh
pnpm dev
```Build and run in production mode:
```sh
pnpm build
pnpm start
```Link: http://localhost:6400
### Tools
Commit with `commitizen`:
```sh
pnpm commit
```Check types with `svelte-check`:
```sh
pnpm validate
```Lint with `prettier`, `stylelint` and `eslint`:
```sh
pnpm lint
```Format with `prettier`, `stylelint` and `eslint`:
```sh
pnpm format
```### Environment variables
All environment variables are written to the `.env` file. If it doesn't exist, just enter this command:
```sh
cp .env.example .env
```