{
  "name": "@formbricks/database",
  "private": true,
  "version": "0.1.0",
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "files": [
    "dist/**"
  ],
  "scripts": {
    "build": "tsup",
    "clean": "rimraf .turbo node_modules dist",
    "db:migrate:deploy": "prisma migrate deploy",
    "db:migrate:dev": "prisma migrate dev",
    "db:migrate:vercel": "if test \"$NEXT_PUBLIC_VERCEL_ENV\" = \"preview\" ; then env DATABASE_URL=\"$MIGRATE_DATABASE_URL\" prisma db push --accept-data-loss ; else env DATABASE_URL=\"$MIGRATE_DATABASE_URL\" prisma migrate deploy ; fi",
    "db:push": "prisma db push --accept-data-loss",
    "dev": "tsup --watch",
    "format": "prisma format",
    "generate": "prisma generate",
    "lint": "eslint ./src --fix",
    "prebuild": "npm run generate",
    "predev": "npm run generate",
    "studio": "prisma studio"
  },
  "dependencies": {
    "@formbricks/types": "workspace:*",
    "@prisma/client": "^4.15.0",
    "prisma-json-types-generator": "^2.4.0"
  },
  "devDependencies": {
    "@formbricks/tsconfig": "workspace:*",
    "eslint": "^8.41.0",
    "eslint-config-formbricks": "workspace:*",
    "prisma": "^4.15.0",
    "prisma-dbml-generator": "^0.10.0",
    "rimraf": "^5.0.1",
    "tsup": "^6.7.0",
    "tsx": "^3.12.7",
    "typescript": "^5.0.4"
  }
}
