{
  "name": "@formbricks/database",
  "packageManager": "pnpm@9.15.9",
  "private": true,
  "version": "0.1.0",
  "main": "./dist/index.cjs",
  "types": "./dist/index.d.ts",
  "type": "module",
  "files": [
    "dist",
    "schema.prisma",
    "migration"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./types/*": {
      "import": "./types/*.ts"
    },
    "./zod/*": {
      "import": "./zod/*.ts"
    },
    "./seed/constants": {
      "import": "./src/seed/constants.ts"
    }
  },
  "scripts": {
    "clean": "rimraf .turbo node_modules dist",
    "build": "pnpm generate && vite build",
    "dev": "vite build --watch",
    "db:migrate:deploy": "env DATABASE_URL=\"${MIGRATE_DATABASE_URL:-$DATABASE_URL}\" node ./dist/scripts/apply-migrations.js",
    "db:migrate:dev": "pnpm build && dotenv -e ../../.env -- sh -c \"pnpm prisma generate && node ./dist/scripts/apply-migrations.js\"",
    "db:create-saml-database:deploy": "env SAML_DATABASE_URL=\"${SAML_DATABASE_URL}\" node ./dist/scripts/create-saml-database.js",
    "db:create-saml-database:dev": "dotenv -e ../../.env -- node ./dist/scripts/create-saml-database.js",
    "db:push": "prisma db push --accept-data-loss",
    "db:seed": "dotenv -e ../../.env -- tsx src/seed.ts",
    "db:seed:clear": "dotenv -e ../../.env -- tsx src/seed.ts --clear",
    "db:setup": "pnpm db:migrate:dev && pnpm db:create-saml-database:dev",
    "db:start": "pnpm db:setup",
    "format": "prisma format",
    "generate": "prisma generate",
    "lint": "eslint ./src --fix",
    "generate-data-migration": "tsx ./src/scripts/generate-data-migration.ts",
    "create-migration": "dotenv -e ../../.env -- tsx ./src/scripts/create-migration.ts"
  },
  "dependencies": {
    "@formbricks/logger": "workspace:*",
    "@paralleldrive/cuid2": "2.2.2",
    "@prisma/client": "6.14.0",
    "bcryptjs": "2.4.3",
    "uuid": "11.1.0",
    "zod": "3.24.4",
    "zod-openapi": "4.2.4"
  },
  "devDependencies": {
    "@formbricks/config-typescript": "workspace:*",
    "@formbricks/eslint-config": "workspace:*",
    "@types/bcryptjs": "2.4.6",
    "dotenv-cli": "8.0.0",
    "glob": "11.1.0",
    "prisma": "6.14.0",
    "prisma-json-types-generator": "3.5.4",
    "ts-node": "10.9.2",
    "tsx": "4.19.2",
    "vite": "6.4.1",
    "vite-plugin-dts": "4.5.3"
  }
}
