From 09157b3ad071275d17493bbe0b3a792512d56bc8 Mon Sep 17 00:00:00 2001 From: SirBlobby Date: Mon, 26 Oct 2026 15:52:11 -0400 Subject: [PATCH] Add start command --- README.md | 3 +++ package.json | 1 + 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 09117af..62fb42b 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,13 @@ A portfolio website that recreates my Arch Linux desktop (Hyprland, Quickshell b ## Running +`start` builds the site and serves it with Bun on `PORT` (default 3000), reading `.env` for the Discord variables. + ```bash bun install bun run dev bun run build +bun run start bun run check ``` diff --git a/package.json b/package.json index ac2dc2a..45eaeac 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "dev": "vite dev", "build": "vite build", "preview": "vite preview", + "start": "vite build && bun ./build/index.js", "prepare": "svelte-kit sync || echo ''", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"