{
  "name": "codeflash-api",
  "version": "0.1.0",
  "private": true,
  "type": "module",
  "scripts": {
    "npx": "npx",
    "copy-md": "copyfiles -u 0 \"github/*.md\" dist",
    "copy-configs": "copyfiles -e \"node_modules/**\" -u 0 \"**/*.json\" \"**/*.pem\" \"**/*.txt\" dist",
    "copy-assets": "pnpm run copy-md && pnpm run copy-configs",
    "build": "pnpm install && prisma generate && tsc && pnpm run copy-assets",
    "deploy": "az webapp up -n codeflash-api --sku P1V2 --runtime NODE:20-lts --verbose",
    "dev": "prisma generate && tsx index.ts",
    "start": "node dist/index.js",
    "prisma:generate": "cd ../common && prisma generate",
    "prisma:migrate": "cd ../common && prisma migrate dev",
    "test": "NODE_OPTIONS=--experimental-vm-modules jest",
    "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
    "lint": "eslint './*.ts' './endpoints/**/*.ts' './config/**/*.ts' './github/**/*.ts' './middlewares/**/*.ts' './scripts/**/*.ts'",
    "type-check": "tsc --noEmit",
    "prepare": "simple-git-hooks",
    "format": "prettier --write \"**/*.{js,ts,tsx,json,md}\"",
    "format:check": "prettier --check \"**/*.{js,ts,tsx,json,md}\""
  },
  "dependencies": {
    "@awaitjs/express": "^0.9.0",
    "@azure/identity": "^4.13.1",
    "@azure/keyvault-keys": "^4.10.0",
    "@azure/keyvault-secrets": "^4.11.1",
    "@codeflash-ai/code-suggester": "^5.0.4",
    "@codeflash-ai/common": "workspace:*",
    "@octokit/app": "^16.1.2",
    "@octokit/auth-app": "^8.2.0",
    "@octokit/core": "^7.0.6",
    "@octokit/plugin-rest-endpoint-methods": "^15.0.0",
    "@octokit/rest": "^22.0.1",
    "@octokit/webhooks": "^14.2.0",
    "@opentelemetry/api": "^1.9.1",
    "@opentelemetry/context-async-hooks": "^2.6.1",
    "@prisma/client": "^7.7.0",
    "@sentry/node": "^10.48.0",
    "@sentry/opentelemetry": "^10.48.0",
    "@sentry/profiling-node": "^10.48.0",
    "@slack/web-api": "^7.15.0",
    "@types/node": "^22.15.29",
    "auth0": "^4.37.0",
    "body-parser": "^1.20.4",
    "cors": "^2.8.6",
    "dotenv": "^16.6.1",
    "express": "^4.22.1",
    "express-rate-limit": "^8.3.2",
    "marked": "^18.0.0",
    "node-cron": "^4.2.1",
    "node-fetch": "^3.3.2",
    "octokit": "^5.0.5",
    "posthog-node": "^5.29.2",
    "resend": "^6.10.0",
    "simple-git-hooks": "^2.9.0",
    "tsx": "^4.21.0"
  },
  "devDependencies": {
    "@tsconfig/node20": "^20.1.2",
    "@types/body-parser": "^1.19.6",
    "@types/cors": "^2.8.19",
    "@types/express": "^4.17.25",
    "@types/jest": "^29.5.14",
    "@types/supertest": "^7.2.0",
    "copyfiles": "^2.4.1",
    "eslint": "^9.39.4",
    "eslint-config-love": "^152.0.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-import": "^2.29.0",
    "eslint-plugin-promise": "^6.1.1",
    "jest": "^29.7.0",
    "lint-staged": "^16.4.0",
    "prettier": "^3.8.2",
    "prisma": "^7.7.0",
    "supertest": "^7.2.2",
    "ts-jest": "^29.4.9",
    "ts-node": "^10.9.2"
  },
  "prisma": {
    "schema": "./node_modules/@codeflash-ai/common/prisma/schema.prisma"
  },
  "simple-git-hooks": {
    "pre-commit": "npx lint-staged"
  },
  "lint-staged": {
    "**/*.{js,ts}": [
      "prettier --write"
    ],
    "**/*.{json,md}": [
      "prettier --write"
    ]
  },
  "codeflash": {
    "testsRoot": "test",
    "formatterCmds": [
      "npx prettier --write $file"
    ],
    "ignorePaths": [
      "node_modules"
    ]
  }
}
