{
  "name": "@sanity/cli",
  "version": "8.16.0",
  "description": "Sanity CLI tool for managing Sanity projects and organizations",
  "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"
  },
  "bin": {
    "sanity": "./bin/run.js"
  },
  "files": [
    "./bin",
    "./codemods",
    "./dist",
    "!./dist/**/__tests__",
    "./oclif.config.js",
    "./oclif.manifest.json",
    "./templates"
  ],
  "type": "module",
  "sideEffects": false,
  "main": "./dist/exports/index.js",
  "types": "./dist/exports/index.d.ts",
  "exports": {
    ".": {
      "source": "./src/exports/index.ts",
      "default": "./dist/exports/index.js"
    },
    "./_internal": {
      "source": "./src/exports/_internal.ts",
      "default": "./dist/exports/_internal.js"
    },
    "./invokeSanityCli": {
      "source": "./src/exports/invokeSanityCli/index.ts",
      "default": "./dist/exports/invokeSanityCli/index.js"
    },
    "./runtime": {
      "source": "./src/exports/runtime.ts",
      "default": "./dist/exports/runtime.js"
    },
    "./package.json": "./package.json"
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@oclif/core": "^4.11.14",
    "@oclif/plugin-help": "^6.2.53",
    "@oclif/plugin-not-found": "^3.2.88",
    "@sanity/cli-build": "^6.4.5",
    "@sanity/cli-core": "^3.9.0",
    "@sanity/client": "^8.9.0",
    "@sanity/codegen": "^8.2.0",
    "@sanity/descriptors": "^1.3.0",
    "@sanity/export": "^6.2.1",
    "@sanity/generate-help-url": "^4.0.0",
    "@sanity/id-utils": "^1.1.0",
    "@sanity/import": "^7.0.4",
    "@sanity/migrate": "^8.0.5",
    "@sanity/runtime-cli": "17.15.0",
    "@sanity/schema": "^6.17.0",
    "@sanity/schema-descriptor-utils": "^1.3.3",
    "@sanity/telemetry": "^1.1.0",
    "@sanity/template-validator": "^3.1.1",
    "@sanity/types": "^6.17.0",
    "@sanity/workbench-cli": "^2.8.4",
    "@sanity/worker-channels": "^2.0.0",
    "@sanity/workflow-cli": "0.36.0",
    "@sanity/workflow-engine": "0.36.0",
    "@vercel/frameworks": "3.29.0",
    "chokidar": "^5.0.0",
    "console-table-printer": "^2.15.0",
    "eventsource": "^5.1.1",
    "execa": "^10.0.1",
    "form-data": "^4.0.5",
    "get-latest-version": "^6.0.1",
    "groq-js": "^2.0.0",
    "gunzip-maybe": "^1.4.2",
    "import-meta-resolve": "^4.2.0",
    "is-installed-globally": "^1.0.0",
    "json5": "^2.2.3",
    "jsonc-parser": "^3.3.1",
    "lodash-es": "^4.18.1",
    "minimist": "^1.2.8",
    "obug": "^3.0.0",
    "oneline": "^2.0.0",
    "open": "^11.0.0",
    "p-map": "^7.0.3",
    "peek-stream": "^1.1.3",
    "picomatch": "^4.0.4",
    "pluralize-esm": "^9.0.5",
    "pretty-ms": "^9.3.0",
    "promise-props-recursive": "^2.0.2",
    "rxjs": "^7.8.2",
    "semver": "^7.8.1",
    "skills": "^1.5.9",
    "smol-toml": "^1.6.1",
    "string-argv": "^0.3.2",
    "string-width": "^7.2.0",
    "tar": "^7.5.18",
    "tar-stream": "^3.2.0",
    "tinyglobby": "^0.2.17",
    "typeid-js": "^1.2.0",
    "valibot": "^1.4.2",
    "vite": "^8.3.3",
    "which": "^6.0.1",
    "wrap-ansi": "^9.0.2",
    "yaml": "^2.9.0",
    "zod": "^4.5.2"
  },
  "devDependencies": {
    "@eslint/compat": "^2.1.0",
    "@repo/package.config": "0.0.1",
    "@repo/tsconfig": "3.70.0",
    "@sanity/cli-test": "19.0.0",
    "@sanity/eslint-config-cli": "1.1.3",
    "@sanity/pkg-utils": "^12.3.4",
    "@swc/cli": "^0.8.1",
    "@swc/core": "^1.15.43",
    "@types/gunzip-maybe": "^1.4.3",
    "@types/jsdom": "^28.0.3",
    "@types/lodash-es": "^4.17.12",
    "@types/minimist": "^1.2.5",
    "@types/node": "^22.20.0",
    "@types/picomatch": "^4.0.3",
    "@types/semver": "^7.7.1",
    "@types/tar-stream": "^3.1.4",
    "@types/which": "^3.0.4",
    "@vitest/coverage-istanbul": "^4.1.11",
    "babel-plugin-react-compiler": "^1.0.0",
    "eslint": "^10.7.0",
    "get-it": "^9.5.4",
    "jsdom": "^29.1.1",
    "nock": "^14.0.15",
    "oclif": "^4.23.27",
    "oxc-transform-react": "^0.153.0",
    "publint": "^0.3.21",
    "rimraf": "^6.0.1",
    "sanity": "^6.17.0",
    "tsx": "^4.23.12",
    "typescript": "^6.0.3",
    "vitest": "^4.1.11"
  },
  "peerDependencies": {
    "babel-plugin-react-compiler": "*",
    "oxc-transform-react": "*"
  },
  "peerDependenciesMeta": {
    "babel-plugin-react-compiler": {
      "optional": true
    },
    "oxc-transform-react": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=22.12"
  },
  "scripts": {
    "prebuild": "pnpm run generate:api-routes",
    "build": "swc --delete-dir-on-start --strip-leading-paths --out-dir dist/ src",
    "postbuild": "pnpm run manifest:generate && pnpm run check:topic-aliases",
    "build:types": "pkg-utils build --emitDeclarationOnly",
    "check:topic-aliases": "tsx scripts/check-topic-aliases.ts",
    "check:types": "tsc --noEmit",
    "generate:api-routes": "tsx scripts/generate-api-routes.ts",
    "lint": "eslint .",
    "manifest:generate": "oclif manifest",
    "manifest:remove": "rimraf oclif.manifest.json",
    "publint": "publint",
    "readme": "oclif readme --tsconfig-path tsconfig.lib.json --no-source-links",
    "test": "npm run test:unit",
    "posttest": "pnpm run lint",
    "test:integration": "echo \"⚠️ Integration tests must be run in the root (i.e. pnpm test:integration)\"",
    "test:unit": "vitest run --config vitest.config.ts",
    "test:coverage": "vitest run --coverage",
    "test:watch": "vitest",
    "prewatch": "pnpm run manifest:remove",
    "watch": "swc --delete-dir-on-start --strip-leading-paths --out-dir dist/ --watch src"
  }
}