From 9aaa29ea18ed61743793683c667a7fc412065f85 Mon Sep 17 00:00:00 2001 From: shahadot786 Date: Fri, 9 Jan 2026 02:12:17 +0600 Subject: [PATCH] fix the main script --- backend/package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/backend/package.json b/backend/package.json index 1db0fda..5011e6d 100644 --- a/backend/package.json +++ b/backend/package.json @@ -4,11 +4,12 @@ "main": "index.js", "license": "MIT", "type": "module", - "scripts": { - "build": "tsc", - "start": "npx prisma migrate deploy && node dist/src/index.js", - "dev": "tsc-watch --onSuccess \"npm start\"" - }, + "scripts": { + "build": "tsc", + "start": "node dist/src/index.js", + "migrate:prod": "npx prisma migrate deploy", + "dev": "tsc-watch --onSuccess \"npm start\"" +}, "devDependencies": { "@types/cookie-parser": "^1.4.10", "@types/cors": "^2.8.19",