Change build scripts to bun

This commit is contained in:
sianida26 2024-02-23 21:39:19 +07:00
parent 7032dcaa42
commit 7470d98193

View File

@ -4,10 +4,10 @@
"private": true, "private": true,
"scripts": { "scripts": {
"check-env": "bun run ./env.ts", "check-env": "bun run ./env.ts",
"dev": "bun run check-env && next dev", "dev": "bun run check-env && bunx next dev",
"build": "bun run check-env && next build", "build": "bun run check-env && bunx next build",
"start": "bun run check-env && next start", "start": "bun run check-env && bunx next start",
"lint": "next lint" "lint": "bunx next lint"
}, },
"prisma": { "prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts" "seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"