feat: added Prisma
This commit is contained in:
Riccardo Senica
2023-08-05 17:23:34 +02:00
committed by GitHub
parent 9c01101c1b
commit 392e0db67b
17 changed files with 181 additions and 18 deletions

View File

@@ -13,7 +13,10 @@
"typecheck": "tsc",
"format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"test": "jest --runInBand --detectOpenHandles",
"prepare": "husky install"
"prepare": "husky install",
"db:generate": "prisma generate",
"db:migrate": "prisma migrate deploy",
"db:reset": "prisma migrate reset --force"
},
"lint-staged": {
"*.ts": [
@@ -24,11 +27,14 @@
]
},
"dependencies": {
"@prisma/client": "5.1.1",
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"express": "^4.18.2",
"helmet": "^7.0.0",
"jsonschema": "^1.4.1",
"prisma": "^5.1.1",
"winston": "^3.10.0",
"winston-daily-rotate-file": "^4.7.1"
},