{
  "name": "proxy-server",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "apps/proxy-server",
  "projectType": "application",
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "options": {
        "command": "echo 'Proxy server JavaScript functions ready for Vercel deployment'"
      },
      "dependsOn": []
    },
    "vercel-build": {
      "executor": "nx:run-commands",
      "options": {
        "command": "echo 'Building proxy-server for Vercel deployment' && npm install",
        "cwd": "apps/proxy-server"
      }
    },
    "serve": {
      "executor": "nx:run-commands",
      "options": {
        "command": "vercel dev",
        "cwd": "apps/proxy-server"
      }
    },
    "serve:local": {
      "executor": "nx:run-commands",
      "options": {
        "command": "node --require @opentelemetry/auto-instrumentations-node/register api/proxy.js",
        "cwd": "apps/proxy-server"
      }
    },
    "deploy": {
      "executor": "nx:run-commands",
      "options": {
        "command": "vercel --prod",
        "cwd": "apps/proxy-server"
      }
    },
    "deploy:dev": {
      "executor": "nx:run-commands",
      "options": {
        "command": "vercel",
        "cwd": "apps/proxy-server"
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "command": "node test-proxy.js",
        "cwd": "apps/proxy-server"
      }
    },
    "lint": {
      "executor": "@nx/eslint:lint",
      "outputs": ["{options.outputFile}"]
    }
  },
  "tags": ["backend", "api", "vercel"]
}
