-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
25 lines (25 loc) · 841 Bytes
/
package.json
File metadata and controls
25 lines (25 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"name": "postgresql-prisma",
"version": "1.0.0",
"description": "The purpose of this article is to showcase how a prisma project can be setup with production and development databases, and the order of migration or changes to the schema would be done.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"migrate": "cross-env DATABASE_URL=$(dotenv -p DEV_DATABASE_URL) prisma migrate dev",
"deploy": "cross-env DATABASE_URL=$(dotenv -p PROD_DATABASE_URL) prisma migrate deploy"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"prisma": "^5.12.1"
},
"dependencies": {
"@prisma/client": "^5.12.1",
"cross-env": "^7.0.3",
"cross-var": "^1.1.0",
"dotenv": "^16.4.5",
"dotenv-cli": "^7.4.1",
"express": "^4.19.2"
}
}