From 9fc77f3a5ce025db816cdab5fe7e15715a889099 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 8 Jun 2022 03:03:14 +0200 Subject: [PATCH] Change package scripts --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e27ab94..78db549 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,10 @@ "private": true, "scripts": { "db:push": "dotenv -e .env.local prisma db push", - "db:generate": "dotenv -e .env.local prisma generate", - "db:studio": "dotenv -e .env.local cross-env BROWSER=none prisma studio", - "app:dev": "cross-env NODE_OPTIONS='--inspect' next dev", + "db:generate:development": "dotenv -e .env.development -e .env.local prisma generate", + "db:generate:production": "dotenv -e .env.production -e .env.local prisma generate --data-proxy", + "db:studio": "dotenv -e .env.development dotenv -e .env.local cross-env BROWSER=none prisma studio", + "app:dev": "next dev", "app:build": "next build", "app:start": "next start", "app:lint": "next lint"