2022-02-15 20:30:52 +00:00
|
|
|
{
|
|
|
|
"name": "@calcom/prisma",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"build": "yarn generate-schemas",
|
|
|
|
"clean": "rm -rf .turbo && rm -rf node_modules",
|
|
|
|
"db-deploy": "yarn prisma migrate deploy",
|
|
|
|
"db-migrate": "yarn prisma migrate dev",
|
|
|
|
"db-nuke": "docker-compose down --volumes --remove-orphans",
|
|
|
|
"db-reset": "run-s db-nuke db-setup",
|
|
|
|
"db-seed": "yarn prisma db seed",
|
|
|
|
"db-setup": "run-s db-up db-deploy db-seed",
|
2022-02-21 16:02:09 +00:00
|
|
|
"db-studio": "yarn prisma studio",
|
2022-02-15 20:30:52 +00:00
|
|
|
"db-up": "docker-compose up -d",
|
2022-04-06 19:52:48 +00:00
|
|
|
"deploy": "yarn prisma migrate deploy",
|
2022-02-15 20:30:52 +00:00
|
|
|
"dx": "yarn db-setup",
|
2022-03-04 17:43:40 +00:00
|
|
|
"generate-schemas": "prisma generate && prisma format",
|
|
|
|
"postinstall": "yarn generate-schemas"
|
2022-02-15 20:30:52 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"npm-run-all": "^4.1.5",
|
2022-03-07 18:30:28 +00:00
|
|
|
"prisma": "3.10.0",
|
2022-03-03 19:29:19 +00:00
|
|
|
"ts-node": "^10.6.0",
|
2022-04-04 22:23:42 +00:00
|
|
|
"zod": "^3.14.4",
|
2022-02-15 20:30:52 +00:00
|
|
|
"zod-prisma": "^0.5.4"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@calcom/lib": "*",
|
2022-04-21 20:32:25 +00:00
|
|
|
"@prisma/client": "^3.12.0"
|
2022-02-15 20:30:52 +00:00
|
|
|
},
|
|
|
|
"main": "index.ts",
|
|
|
|
"types": "index.d.ts",
|
2022-03-03 19:29:19 +00:00
|
|
|
"files": [
|
|
|
|
"client",
|
|
|
|
"zod",
|
|
|
|
"zod-utils.ts"
|
|
|
|
],
|
2022-02-15 20:30:52 +00:00
|
|
|
"prisma": {
|
|
|
|
"seed": "ts-node ./seed.ts"
|
|
|
|
}
|
|
|
|
}
|