Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```