Add start command
This commit is contained in:
1 parent
3065ad6092
commit
09157b3ad0
2 files changed
+4
No files matched your search
@@ -4,10 +4,13 @@ A portfolio website that recreates my Arch Linux desktop (Hyprland, Quickshell b
|
|||||||
|
|
||||||
## Running
|
## Running
|
||||||
|
|
||||||
|
`start` builds the site and serves it with Bun on `PORT` (default 3000), reading `.env` for the Discord variables.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bun install
|
bun install
|
||||||
bun run dev
|
bun run dev
|
||||||
bun run build
|
bun run build
|
||||||
|
bun run start
|
||||||
bun run check
|
bun run check
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
|
"start": "vite build && bun ./build/index.js",
|
||||||
"prepare": "svelte-kit sync || echo ''",
|
"prepare": "svelte-kit sync || echo ''",
|
||||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
||||||
|
|||||||
Reference in new issue
Block a user