-
-
Notifications
You must be signed in to change notification settings - Fork 1
Development Scripts
Alberto edited this page Nov 13, 2023
·
12 revisions
This is a list of all the available bun
scripts, they all have prefixes indicating their category (excluding the dev, build and lint scripts):
db:
lang:
storybook:
env:
vercel:
"dev": "bun db:generate && bun vite:dev",
"build": "bun lang:build && bun db:generate && bun vite:build",
"db:generate": "bun with-env drizzle-kit generate:pg",
"db:push": "bun with-env drizzle-kit push:pg",
"db:studio": "bun with-env drizzle-kit studio",
"lang:build": "paraglide-js compile --project ./project.inlang.json",
"lang:studio": "bun x @inlang/cli open editor",
"storybook": "STORYBOOK=true storybook dev -p 6006 -s static",
"storybook:build": "STORYBOOK=true storybook build -s static",
"storybook:serve": "bun x serve storybook-static"
"env:sync": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"vercel:build": "bun lang:build && bun db:push && bun vite:build",