From db0c46136d8582204872da4c6d2a418c1c0965e4 Mon Sep 17 00:00:00 2001 From: Massick <4ndyraul@gmail.com> Date: Thu, 19 Dec 2024 22:53:30 -0300 Subject: [PATCH] generate prisma before starting --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d41efb2..4de3f72 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "main": "index.js", "type": "module", "scripts": { - "start": "tsc -p ./tsconfig.json && node -r dotenv/config ./dist/main.js", + "start": "prisma generate && tsc -p ./tsconfig.json && node -r dotenv/config ./dist/main.js", "build": "prisma generate && prisma db push && tsc -p ./tsconfig.json", "validate": "prisma validate", "db-pull": "prisma db pull",