Dev, Test, and Prod DBs separated. .env is unified now.
This commit is contained in:
@@ -4,11 +4,12 @@
|
||||
"description": "Backend for GymFlow AI",
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"start": "node dist/index.js",
|
||||
"dev": "ts-node-dev -r dotenv/config --respawn --transpile-only src/index.ts",
|
||||
"start": "npm run start:prod",
|
||||
"start:prod": "cross-env APP_MODE=prod node dist/index.js",
|
||||
"start:test": "cross-env APP_MODE=test ts-node-dev -r dotenv/config --respawn --transpile-only src/index.ts",
|
||||
"dev": "cross-env APP_MODE=dev ts-node-dev -r dotenv/config --respawn --transpile-only src/index.ts",
|
||||
"build": "tsc",
|
||||
"migrate:deploy": "npx prisma migrate deploy"
|
||||
|
||||
},
|
||||
"dependencies": {
|
||||
"@google/generative-ai": "^0.24.1",
|
||||
@@ -29,10 +30,11 @@
|
||||
"@types/express": "*",
|
||||
"@types/jsonwebtoken": "*",
|
||||
"@types/node": "*",
|
||||
"cross-env": "^10.1.0",
|
||||
"dotenv-cli": "^11.0.0",
|
||||
"nodemon": "*",
|
||||
"prisma": "^7.1.0",
|
||||
"ts-node": "*",
|
||||
"typescript": "*"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user