{
  "name": "customer-portal",
  "version": "1.0.0",
  "description": "Customer portal with BFF architecture",
  "private": true,
  "engines": {
    "node": ">=22.0.0",
    "pnpm": ">=10.0.0"
  },
  "packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501",
  "scripts": {
    "dev": "pnpm domain:build && ./scripts/dev/manage.sh apps",
    "dev:all": "pnpm --filter @customer-portal/domain build && pnpm --parallel --filter @customer-portal/portal --filter @customer-portal/bff run dev",
    "dev:apps": "pnpm --parallel --filter @customer-portal/portal --filter @customer-portal/bff run dev",
    "domain:build": "pnpm --filter @customer-portal/domain build",
    "domain:check-dist": "bash ./scripts/domain/check-dist.sh",
    "build": "pnpm --filter @customer-portal/domain build && pnpm --recursive --filter=!@customer-portal/domain run build",
    "start": "pnpm --parallel --filter @customer-portal/portal --filter @customer-portal/bff run start",
    "test": "pnpm --recursive run test",
    "lint": "pnpm --recursive run lint",
    "lint:fix": "pnpm --recursive run lint:fix",
    "lint-staged": "lint-staged",
    "format": "prettier -w .",
    "format:check": "prettier -c .",
    "prepare": "husky",
    "type-check": "pnpm --filter @customer-portal/domain build && pnpm --filter @customer-portal/bff --filter @customer-portal/portal run type-check",
    "check:imports": "node scripts/check-domain-imports.mjs",
    "check:unused": "knip",
    "quality": "pnpm lint && pnpm type-check && pnpm check:imports && pnpm check:unused",
    "clean": "pnpm --recursive run clean",
    "dev:start": "./scripts/dev/manage.sh start",
    "dev:stop": "./scripts/dev/manage.sh stop",
    "dev:restart": "./scripts/dev/manage.sh restart",
    "dev:tools": "./scripts/dev/manage.sh tools",
    "dev:logs": "./scripts/dev/manage.sh logs",
    "dev:status": "./scripts/dev/manage.sh status",
    "prod:deploy": "./scripts/prod/manage.sh deploy",
    "prod:start": "./scripts/prod/manage.sh start",
    "prod:stop": "./scripts/prod/manage.sh stop",
    "prod:restart": "./scripts/prod/manage.sh restart",
    "prod:update": "./scripts/prod/manage.sh update",
    "prod:build": "./scripts/prod/manage.sh build",
    "prod:status": "./scripts/prod/manage.sh status",
    "prod:logs": "./scripts/prod/manage.sh logs",
    "prod:backup": "./scripts/prod/manage.sh backup",
    "prod:cleanup": "./scripts/prod/manage.sh cleanup",
    "db:migrate": "pnpm --filter @customer-portal/bff run db:migrate",
    "db:generate": "pnpm --filter @customer-portal/bff run db:generate",
    "db:studio": "pnpm --filter @customer-portal/bff run db:studio",
    "db:reset": "pnpm --filter @customer-portal/bff run db:reset",
    "security:audit": "pnpm audit",
    "security:check": "pnpm audit --audit-level=high",
    "security:fix": "pnpm audit --fix",
    "security:report": "pnpm audit --json > security-report.json && echo 'Report saved to security-report.json'",
    "security:scan": "bash ./scripts/security-check.sh",
    "update:check": "pnpm outdated --recursive",
    "update:safe": "pnpm update --recursive && pnpm audit && pnpm type-check",
    "analyze": "pnpm --filter @customer-portal/portal run analyze",
    "plesk:images": "bash ./scripts/plesk/build-images.sh"
  },
  "devDependencies": {
    "@commitlint/cli": "^20.3.1",
    "@commitlint/config-conventional": "^20.3.1",
    "@eslint/js": "^9.39.2",
    "@next/eslint-plugin-next": "16.0.9",
    "@types/node": "catalog:",
    "eslint": "^9.39.2",
    "eslint-plugin-import-x": "^4.16.1",
    "eslint-plugin-react-hooks": "^7.0.1",
    "eslint-plugin-sonarjs": "^3.0.5",
    "eslint-plugin-unicorn": "^62.0.0",
    "globals": "^16.5.0",
    "husky": "^9.1.7",
    "knip": "^5.81.0",
    "lint-staged": "^16.2.7",
    "prettier": "^3.7.4",
    "tsx": "^4.21.0",
    "typescript": "catalog:",
    "typescript-eslint": "^8.49.0"
  },
  "pnpm": {
    "overrides": {
      "js-yaml": ">=4.1.1"
    }
  }
}
