{
  "name": "@sanity/cli-build",
  "version": "0.2.2",
  "description": "Internal Sanity package for building studios and apps",
  "keywords": [
    "cli",
    "cms",
    "content",
    "headless",
    "realtime",
    "sanity",
    "tool"
  ],
  "homepage": "https://github.com/sanity-io/cli",
  "bugs": "https://github.com/sanity-io/cli/issues",
  "license": "MIT",
  "author": "Sanity.io <hello@sanity.io>",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sanity-io/cli.git",
    "directory": "packages/@sanity/cli-build"
  },
  "files": [
    "./dist",
    "!./dist/**/__tests__",
    "./static"
  ],
  "type": "module",
  "sideEffects": false,
  "exports": {
    "./_internal/build": {
      "source": "./src/_exports/_internal/build.ts",
      "default": "./dist/_exports/_internal/build.js"
    },
    "./_internal/extract": {
      "source": "./src/_exports/_internal/extract.ts",
      "default": "./dist/_exports/_internal/extract.js"
    },
    "./package.json": "./package.json"
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@oclif/core": "^4.11.4",
    "@sanity/generate-help-url": "^4.0.0",
    "@sanity/schema": "^5.30.0",
    "@sanity/telemetry": "^1.1.0",
    "@sanity/types": "^5.30.0",
    "@vitejs/plugin-react": "^5.2.0",
    "chokidar": "^5.0.0",
    "debug": "^4.4.3",
    "lodash-es": "^4.18.1",
    "node-html-parser": "^7.1.0",
    "picomatch": "^4.0.4",
    "react": "^19.2.6",
    "react-dom": "^19.2.6",
    "read-package-up": "^12.0.0",
    "semver": "^7.7.4",
    "vite": "^7.3.3",
    "zod": "^4.3.6",
    "@sanity/cli-core": "^1.3.4"
  },
  "devDependencies": {
    "@eslint/compat": "^2.0.5",
    "@sanity/pkg-utils": "^10.5.2",
    "@swc/cli": "^0.8.1",
    "@swc/core": "^1.15.33",
    "@types/debug": "^4.1.13",
    "@types/jsdom": "^28.0.3",
    "@types/lodash-es": "^4.17.12",
    "@types/node": "^20.19.41",
    "@types/picomatch": "^4.0.3",
    "@types/react": "^19.2.16",
    "@types/react-dom": "^19.2.3",
    "@types/semver": "^7.7.1",
    "@vitest/coverage-istanbul": "^4.1.7",
    "babel-plugin-react-compiler": "^1.0.0",
    "eslint": "^10.2.1",
    "jsdom": "^29.1.1",
    "publint": "^0.3.21",
    "sanity": "^5.30.0",
    "typescript": "^5.9.3",
    "vitest": "^4.1.7",
    "@repo/package.config": "0.0.1",
    "@repo/tsconfig": "3.70.0",
    "@sanity/cli-test": "0.3.5",
    "@sanity/eslint-config-cli": "^1.1.1"
  },
  "peerDependencies": {
    "babel-plugin-react-compiler": "*"
  },
  "peerDependenciesMeta": {
    "babel-plugin-react-compiler": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=20.19.1 <22 || >=22.12"
  },
  "scripts": {
    "build": "swc --delete-dir-on-start --strip-leading-paths --out-dir dist/ src --ignore '**/*.test.ts' --ignore '**/__tests__/**'",
    "build:types": "pkg-utils build --emitDeclarationOnly",
    "check:types": "tsc --noEmit",
    "lint": "eslint .",
    "publint": "publint",
    "test": "vitest run",
    "posttest": "pnpm run lint",
    "test:coverage": "vitest run --coverage",
    "test:watch": "vitest",
    "watch": "swc --delete-dir-on-start --strip-leading-paths --out-dir dist/ --watch src"
  }
}