feat: Add Nixpacks configuration and start script

Co-authored-by: lukeslakemail <lukeslakemail@gmail.com>
This commit is contained in:
Cursor Agent
2025-10-19 19:55:38 +00:00
parent 0b20bdff66
commit 3c41bc5dcf
2 changed files with 16 additions and 0 deletions

12
nixpacks.toml Normal file
View File

@@ -0,0 +1,12 @@
[phases.install]
cmds = [
"yarn install --frozen-lockfile"
]
[phases.build]
cmds = [
"yarn build"
]
[start]
cmd = "yarn start"

View File

@@ -7,11 +7,15 @@
"dev": "vite dev", "dev": "vite dev",
"build": "vite build", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"start": "node build",
"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",
"lint": "prettier --plugin-search-dir . --check . && eslint .", "lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write ." "format": "prettier --plugin-search-dir . --write ."
}, },
"engines": {
"node": ">=18"
},
"devDependencies": { "devDependencies": {
"@floating-ui/dom": "^1.6.1", "@floating-ui/dom": "^1.6.1",
"@skeletonlabs/skeleton": "^2.8.0", "@skeletonlabs/skeleton": "^2.8.0",