{
  "name": "@sanity/codegen",
  "version": "4.22.0",
  "description": "Codegen toolkit for Sanity.io",
  "keywords": [
    "sanity",
    "cms",
    "headless",
    "realtime",
    "content",
    "codegen"
  ],
  "homepage": "https://www.sanity.io/",
  "bugs": {
    "url": "https://github.com/sanity-io/sanity/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sanity-io/sanity.git",
    "directory": "packages/@sanity/codegen"
  },
  "license": "MIT",
  "author": "Sanity.io <hello@sanity.io>",
  "sideEffects": false,
  "type": "module",
  "exports": {
    ".": {
      "source": "./src/_exports/index.ts",
      "default": "./lib/index.js"
    },
    "./package.json": "./package.json"
  },
  "main": "./lib/index.cjs",
  "types": "./lib/index.d.ts",
  "files": [
    "lib",
    "babel.config.json"
  ],
  "dependencies": {
    "@babel/core": "^7.28.5",
    "@babel/generator": "^7.28.5",
    "@babel/preset-env": "^7.28.5",
    "@babel/preset-react": "^7.28.5",
    "@babel/preset-typescript": "^7.28.5",
    "@babel/register": "^7.28.3",
    "@babel/traverse": "^7.28.5",
    "@babel/types": "^7.28.5",
    "debug": "^4.4.3",
    "globby": "^11.1.0",
    "groq-js": "^1.23.0",
    "json5": "^2.2.3",
    "tsconfig-paths": "^4.2.0",
    "zod": "^3.25.76",
    "groq": "4.22.0"
  },
  "devDependencies": {
    "@sanity/pkg-utils": "^10.2.1",
    "@types/babel__core": "^7.20.5",
    "@types/babel__generator": "^7.27.0",
    "@types/babel__register": "^7.17.3",
    "@types/babel__traverse": "^7.28.0",
    "@types/debug": "^4.1.12",
    "@types/node": "^24.3.0",
    "@typescript/native-preview": "7.0.0-dev.20251128.1",
    "eslint": "^9.39.1",
    "rimraf": "^5.0.10",
    "vitest": "^3.2.4",
    "@repo/eslint-config": "4.22.0",
    "@repo/package.config": "4.22.0",
    "@repo/tsconfig": "4.22.0",
    "@repo/test-config": "4.22.0"
  },
  "engines": {
    "node": ">=20.19 <22 || >=22.12"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "build": "pkg-utils build --strict --check --clean",
    "check:types": "(cd ../../.. && tsgo --project packages/@sanity/codegen/tsconfig.lib.json --erasableSyntaxOnly)",
    "clean": "rimraf lib coverage",
    "lint": "eslint .",
    "test": "vitest",
    "watch": "pkg-utils watch"
  }
}