{
  "name": "formbricks",
  "version": "0.0.0",
  "private": true,
  "workspaces": [
    "apps/*",
    "packages/*"
  ],
  "prisma": {
    "schema": "packages/database/schema.prisma"
  },
  "scripts": {
    "clean:all": "turbo run clean && rimraf node_modules pnpm-lock.yaml .turbo coverage out",
    "clean": "turbo run clean && rimraf node_modules .turbo coverage out",
    "build": "turbo run build",
    "build:dev": "turbo run build:dev",
    "db:migrate:dev": "turbo run db:migrate:dev",
    "db:migrate:deploy": "turbo run db:migrate:deploy",
    "db:start": "turbo run db:start",
    "db:push": "turbo run db:push",
    "db:seed": "turbo run db:seed",
    "db:seed:clear": "turbo run db:seed -- -- --clear",
    "db:up": "docker compose -f docker-compose.dev.yml up -d",
    "db:down": "docker compose -f docker-compose.dev.yml down",
    "go": "pnpm db:up && turbo run go --concurrency 20",
    "dev": "turbo run dev --parallel",
    "pre-commit": "lint-staged",
    "start": "turbo run start --parallel",
    "format": "prettier --write \"**/*.{ts,tsx,md}\"",
    "generate": "turbo run generate",
    "lint": "turbo run lint",
    "test": "turbo run test --no-cache",
    "test:coverage": "turbo run test:coverage --no-cache",
    "test:e2e": "playwright test",
    "test-e2e:azure": "pnpm test:e2e -c playwright.service.config.ts --workers=10",
    "prepare": "husky install",
    "storybook": "turbo run storybook",
    "fb-migrate-dev": "pnpm --filter @formbricks/database create-migration && pnpm prisma generate",
    "i18n:surveys:generate": "pnpm --filter @formbricks/surveys i18n:generate",
    "i18n:web:generate": "pnpm --filter @formbricks/web i18n:generate",
    "generate-translations": "pnpm i18n:web:generate && pnpm i18n:surveys:generate",
    "scan-translations": "pnpm --filter @formbricks/i18n-utils scan-translations",
    "i18n": "pnpm generate-translations && pnpm scan-translations",
    "i18n:validate": "pnpm scan-translations"
  },
  "dependencies": {
    "react": "19.2.3",
    "react-dom": "19.2.3",
    "next": "16.1.3"
  },
  "devDependencies": {
    "@azure/identity": "4.13.0",
    "@azure/playwright": "1.0.0",
    "@formbricks/eslint-config": "workspace:*",
    "@playwright/test": "1.56.1",
    "eslint": "8.57.0",
    "glob": "^11.1.0",
    "husky": "9.1.7",
    "lint-staged": "16.0.0",
    "rimraf": "6.0.1",
    "tsx": "4.19.4",
    "turbo": "2.5.3"
  },
  "lint-staged": {
    "(apps|packages)/**/*.{js,ts,jsx,tsx}": [
      "prettier --write"
    ],
    "*.json": [
      "prettier --write"
    ],
    "packages/database/schema.prisma": [
      "prisma format"
    ]
  },
  "engines": {
    "node": ">=16.0.0"
  },
  "packageManager": "pnpm@9.15.9",
  "nextBundleAnalysis": {
    "budget": 358400,
    "budgetPercentIncreaseRed": 20,
    "minimumChangeThreshold": 0,
    "showDetails": true
  },
  "pnpm": {
    "overrides": {
      "axios": ">=1.12.2",
      "uuid": "11.1.0",
      "node-forge": ">=1.3.2",
      "tar-fs": "2.1.4",
      "typeorm": ">=0.3.26",
      "systeminformation": "5.27.14"
    },
    "comments": {
      "overrides": "Security fixes for transitive dependencies. Remove when upstream packages update: axios (CVE-2025-58754) - awaiting @boxyhq/saml-jackson update | node-forge (Dependabot #230) - awaiting @boxyhq/saml-jackson update | tar-fs (Dependabot #205) - awaiting upstream dependency updates | typeorm (Dependabot #223) - awaiting @boxyhq/saml-jackson update | systeminformation (Dependabot #241) - awaiting @opentelemetry/host-metrics update"
    },
    "patchedDependencies": {
      "next-auth@4.24.12": "patches/next-auth@4.24.12.patch"
    }
  }
}