-
- Downloads
update scripts and readme
... | @@ -4,16 +4,15 @@ | ... | @@ -4,16 +4,15 @@ |
"private": true, | "private": true, | ||
"scripts": { | "scripts": { | ||
"dev": "vite dev", | "dev": "vite dev", | ||
"build": "vite build", | "build": "prisma migrate deploy && vite build", | ||
"preview": "vite preview", | "preview": "vite preview", | ||
"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 --check . && eslint .", | "lint": "prettier --check . && eslint .", | ||
"format": "prettier --write . && prisma format", | "format": "prettier --write . && prisma format", | ||
"prod:init": "prisma generate && prisma migrate deploy", | "init": "npm i && prisma generate && prisma migrate deploy", | ||
"prod:build": "prisma migrate deploy && vite build", | "update": "git pull && npm run build", | ||
"prod:update": "git pull && npm run prod:build", | "start": "node build/index.js" | ||
"prod:start": "node build/index.js" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@sveltejs/adapter-auto": "^3.0.0", | "@sveltejs/adapter-auto": "^3.0.0", | ||
... | ... |
Please register or sign in to comment