Add prisma seed tests and refactor seed script

This commit is contained in:
bipproduction
2026-02-05 16:33:43 +08:00
parent 049bddeba1
commit 98b134e72a
7 changed files with 238 additions and 38 deletions

View File

@@ -7,7 +7,8 @@
"dev": "bun --hot src/index.tsx",
"build": "bun build ./src/index.html --outdir=dist --sourcemap --target=browser --minify --define:process.env.NODE_ENV='\"production\"' --env='BUN_PUBLIC_*'",
"start": "NODE_ENV=production bun src/index.tsx",
"seed": "bun prisma/seed.ts"
"seed": "bun prisma/seed.ts",
"test": "bun test"
},
"dependencies": {
"@elysiajs/cors": "^1.4.1",