@sanity/cli
Version:
Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets
142 lines • 3.83 kB
JSON
{
"name": "@sanity/cli",
"version": "5.12.0",
"description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
"keywords": [
"cli",
"cms",
"content",
"headless",
"realtime",
"sanity",
"tool"
],
"homepage": "https://www.sanity.io/",
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/cli"
},
"bin": {
"sanity": "./bin/sanity"
},
"files": [
"bin",
"codemods",
"lib",
"templates"
],
"type": "commonjs",
"sideEffects": false,
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
},
"dependencies": {
"@babel/parser": "^7.28.6",
"@babel/traverse": "^7.28.6",
"@sanity/client": "^7.15.0",
"@sanity/codegen": "^5.9.3",
"@sanity/runtime-cli": "^14.0.1",
"@sanity/telemetry": "^0.8.1",
"@sanity/template-validator": "^3.0.0",
"@sanity/worker-channels": "^1.1.0",
"chalk": "^4.1.2",
"debug": "^4.4.3",
"esbuild": "0.27.3",
"esbuild-register": "^3.6.0",
"get-it": "^8.7.0",
"get-latest-version": "^5.1.0",
"jsonc-parser": "^3.3.1",
"pkg-dir": "^5.0.0",
"prettier": "^3.8.1",
"semver": "^7.7.2",
"smol-toml": "^1.6.0"
},
"devDependencies": {
"@rexxars/gitconfiglocal": "^3.0.1",
"@rollup/plugin-node-resolve": "^16.0.3",
"@sanity/generate-help-url": "^4.0.0",
"@sanity/pkg-utils": "^10.4.4",
"@types/babel__traverse": "^7.28.0",
"@types/configstore": "^5.0.1",
"@types/cpx": "^1.5.5",
"@types/debug": "^4.1.12",
"@types/inquirer": "^6.5.0",
"@types/lodash-es": "^4.17.12",
"@types/minimist": "^1.2.5",
"@types/node": "^24.3.0",
"@types/semver": "^7.7.0",
"@types/semver-compare": "^1.0.3",
"@types/tar": "^6.1.13",
"@types/which": "^2.0.1",
"@vercel/frameworks": "1.6.0",
"@vercel/fs-detectors": "4.1.3",
"babel-plugin-react-compiler": "1.0.0",
"boxen": "^4.2.0",
"clean-stack": "^3.0.1",
"configstore": "^5.0.1",
"cpx": "^1.5.0",
"deep-sort-object": "^1.0.2",
"dotenv": "^16.6.1",
"dotenv-expand": "^9.0.0",
"eslint": "^9.39.2",
"execa": "^2.1.0",
"get-port": "^7.1.0",
"git-user-info": "^2.0.3",
"globals": "^16.2.0",
"inquirer": "^6.5.2",
"is-installed-globally": "^0.4.0",
"leven": "^3.1.0",
"lodash-es": "^4.17.22",
"minimist": "^1.2.8",
"open": "^8.4.2",
"ora": "^8.2.0",
"p-map": "^4.0.0",
"p-timeout": "^4.1.0",
"preferred-pm": "^4.1.1",
"promise-props-recursive": "^2.0.2",
"recast": "^0.23.11",
"resolve-from": "^5.0.0",
"rimraf": "^5.0.10",
"semver": "^7.7.2",
"semver-compare": "^1.0.0",
"tar": "^6.2.1",
"vite": "^7.3.1",
"vitest": "^4.0.18",
"which": "^2.0.2",
"xdg-basedir": "^4.0.0",
"@repo/eslint-config": "5.12.0",
"@repo/package.config": "5.12.0",
"@repo/test-config": "5.12.0",
"@repo/tsconfig": "5.12.0",
"@sanity/types": "5.12.0"
},
"peerDependencies": {
"babel-plugin-react-compiler": "*"
},
"peerDependenciesMeta": {
"babel-plugin-react-compiler": {
"optional": true
}
},
"engines": {
"node": ">=20.19 <22 || >=22.12"
},
"scripts": {
"build": "pkg-utils build --strict --check --clean",
"check:types": "(cd ../../.. && tsc --project packages/@sanity/cli/tsconfig.lib.json --erasableSyntaxOnly)",
"clean": "rimraf lib",
"lint": "eslint .",
"test": "vitest",
"ts": "node -r esbuild-register",
"watch": "pkg-utils watch"
}
}