-
-
Notifications
You must be signed in to change notification settings - Fork 1
Development Scripts
Alberto edited this page Sep 8, 2023
·
12 revisions
This is a list of all the available pnpm
scripts, they all have prefixes indicating their category (excluding the dev & build scripts):
db:
lang:
storybook:
env:
vercel:
"dev": "pnpm db:generate && pnpm vite:dev",
"build": "pnpm db:generate && pnpm vite:build",
"db:generate": "pnpm with-env prisma generate",
"db:push": "pnpm with-env prisma db push",
"db:migrate": "pnpm with-env prisma migrate dev",
"db:deploy": "pnpm with-env prisma migrate deploy",
"db:studio": "pnpm with-env prisma studio",
"lang:studio": "pnpm dlx @inlang/cli open editor",
"storybook": "STORYBOOK=true storybook dev -p 6006",
"storybook:build": "STORYBOOK=true storybook build"
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write .",
"env:sync": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"vercel:build": "pnpm db:generate && pnpm db:deploy && pnpm vite:build",