diff --git a/package.json b/package.json index cd59c458..94d5a480 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "format": "prettier --plugin-search-dir . --write .", "db:studio": "prisma studio", "db:push": "prisma db push", - "db:generate": "prisma generate" + "db:generate": "prisma generate", + "postinstall": "prisma generate" }, "devDependencies": { "@sveltejs/adapter-auto": "^2.1.0",