{
  "name": "@sanity/runtime-cli",
  "description": "Sanity's Runtime CLI for Blueprints and Functions",
  "version": "17.15.0",
  "author": "Sanity Runtime Team",
  "type": "module",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sanity-io/runtime-cli.git"
  },
  "bugs": "https://github.com/sanity-io/runtime-cli/issues",
  "homepage": "https://github.com/sanity-io/runtime-cli",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.js"
    }
  },
  "engines": {
    "node": ">=22.12"
  },
  "files": [
    "./bin",
    "./dist",
    "./SKILL.md",
    "./skills",
    "./oclif.manifest.json"
  ],
  "bin": {
    "sanity-run": "bin/run.js"
  },
  "scripts": {
    "build": "npm run build:vendor && npm run build:ts && npm run build:static && npm run build:oclif",
    "build:vendor": "vite build --config vite.vendor.config.mjs",
    "build:oclif": "oclif manifest && oclif readme",
    "build:ts": "shx rm -rf dist *.tsbuildinfo && tsc -b",
    "build:static": "npm run copy:wrapper && npm run copy:design-tokens && npm run copy:server",
    "clean": "shx rm -rf dist oclif.manifest.json",
    "copy:design-tokens": "shx rm -rf ./src/server/static/vendor/design-tokens && shx cp -r ./node_modules/@sanity-labs/design-tokens/dist/css ./src/server/static/vendor/design-tokens",
    "copy:server": "shx cp -r ./src/server/static ./dist/server",
    "copy:wrapper": "npm run copy:wrapper:entry && npm run copy:wrapper:modules",
    "copy:wrapper:entry": "shx cp ./src/utils/functions/child-process-wrapper.js ./dist/utils/functions/child-process-wrapper.js",
    "copy:wrapper:modules": "shx rm -rf ./dist/utils/functions/child-runtime && shx cp -r ./src/utils/functions/child-runtime ./dist/utils/functions/child-runtime",
    "lint": "biome ci",
    "lint:write": "biome check --write",
    "lint:fix": "npm run lint:write",
    "prepare": "npm run build",
    "postpack": "shx rm -f oclif.manifest.json",
    "test": "npm run typecheck && vitest run && npm run test:depmgmt && npm run lint",
    "test:depmgmt": "vitest run --config ./test-depmgmt/vitest.config.ts",
    "test:coverage": "vitest run --coverage --coverage.include \"src/**/*\" --coverage.exclude \"src/server/static/**\"",
    "test:scenarios": "vitest run test/scenarios",
    "test:playwright": "playwright install chromium && playwright install-deps chromium && playwright test",
    "test:bp-version-smoke": "node ./test/blueprints-version-smoke.js",
    "test:unit": "vitest run --exclude \"test/scenarios/**/*\"",
    "test:vitest": "vitest run",
    "typecheck": "tsc --project tsconfig.typecheck.json",
    "watch": "tsc --watch"
  },
  "dependencies": {
    "@architect/hydrate": "~6.0.2",
    "@architect/inventory": "~6.1.0",
    "@inquirer/prompts": "^8.7.2",
    "@oclif/core": "^4.14.0",
    "@oclif/plugin-help": "^6.3.0",
    "@sanity-labs/oclif-plugin-skills-flag": "^0.2.1",
    "@sanity/blueprints": "^0.27.0",
    "@sanity/blueprints-parser": "^0.5.0",
    "@sanity/cli-build": "^6.3.0",
    "@sanity/cli-core": "^3.7.0",
    "@sanity/client": "^8.6.1",
    "adm-zip": "^0.6.1",
    "array-treeify": "^0.2.0",
    "cardinal": "^2.1.1",
    "empathic": "^2.0.1",
    "eventsource": "^5.1.1",
    "groq-js": "^2.0.0",
    "jiti": "^2.7.0",
    "mime-types": "^3.0.2",
    "ora": "^9.4.1",
    "signal-exit": "^4.1.0",
    "strip-ansi": "^7.2.0",
    "tar-fs": "^3.1.3",
    "tar-stream": "^3.2.1",
    "vite": "^8.3.0",
    "ws": "^8.21.3",
    "xdg-basedir": "^5.1.0"
  },
  "devDependencies": {
    "@biomejs/biome": "2.5.13",
    "@codemirror/lang-json": "^6.0.2",
    "@codemirror/language": "^6.12.4",
    "@codemirror/state": "^6.7.4",
    "@enhance/store": "^1.0.2",
    "@lezer/highlight": "^1.2.3",
    "@oclif/test": "^4.2.0",
    "@playwright/test": "^1.63.0",
    "@sanity-labs/design-tokens": "^0.0.2-alpha.2",
    "@sanity/functions": "^1.7.2",
    "@types/cardinal": "^2.1.1",
    "@types/mime-types": "^3.0.1",
    "@types/node": "^22",
    "@types/tar-fs": "^2.0.4",
    "@types/ws": "^8.18.1",
    "@vitest/coverage-v8": "5.0.0",
    "codemirror": "^6.0.2",
    "mentoss": "^0.13.0",
    "oclif": "^4.24.0",
    "pretty-bytes": "^7.1.3",
    "pretty-ms": "^9.3.1",
    "shx": "^0.4.0",
    "typescript": "^7.0.2",
    "vitest": "5.0.0"
  },
  "oclif": {
    "bin": "sanity-run",
    "dirname": "sanity-run",
    "commands": "./dist/commands",
    "plugins": [
      "@oclif/plugin-help",
      "@sanity-labs/oclif-plugin-skills-flag"
    ],
    "topicSeparator": " ",
    "topics": {
      "blueprints": {
        "description": "Local Blueprint and remote Stack management commands"
      },
      "functions": {
        "description": "Sanity Function development and management commands"
      }
    }
  },
  "oclif-plugin-skills-flag": {
    "flag": "skill",
    "aliases": [
      "agent",
      "llm",
      "llms",
      "skills"
    ],
    "directory": "skills"
  },
  "publishConfig": {
    "access": "public",
    "provenance": false
  },
  "allowScripts": {
    "fsevents@2.3.2": true,
    "fsevents@2.3.3": true
  }
}
