chore: fix some code

This commit is contained in:
Kuizuo
2024-05-05 20:37:52 +08:00
parent 5231e5f565
commit 326d16068f
11 changed files with 45 additions and 66 deletions
+1
View File
@@ -11,6 +11,7 @@
},
"main": "./client/index.js",
"scripts": {
"postinstall": "npm run db:generate",
"db:generate": "rimraf dist client && prisma generate && tsc && cp -r client dist/client",
"db:push": "prisma db push --skip-generate",
"migrate:dev": "prisma migrate dev",