@sanity/cli
Version:
Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets
142 lines • 3.8 kB
JSON
{
"name": "@sanity/cli",
"version": "5.2.0",
"description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
"keywords": [
"sanity",
"cms",
"headless",
"realtime",
"content",
"cli",
"tool"
],
"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/cli"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"sideEffects": false,
"type": "commonjs",
"exports": {
".": {
"source": "./src/index.ts",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"bin": {
"sanity": "./bin/sanity"
},
"files": [
"bin",
"codemods",
"lib",
"templates"
],
"dependencies": {
"@babel/parser": "^7.28.5",
"@babel/traverse": "^7.28.5",
"@sanity/client": "^7.14.0",
"@sanity/runtime-cli": "^12.3.0",
"@sanity/telemetry": "^0.8.0",
"@sanity/template-validator": "^2.4.3",
"@sanity/worker-channels": "^1.1.0",
"chalk": "^4.1.2",
"debug": "^4.4.3",
"esbuild": "0.27.2",
"esbuild-register": "^3.6.0",
"get-it": "^8.7.0",
"get-latest-version": "^5.1.0",
"pkg-dir": "^5.0.0",
"prettier": "^3.7.4",
"semver": "^7.7.2",
"@sanity/codegen": "5.2.0"
},
"devDependencies": {
"@rexxars/gitconfiglocal": "^3.0.1",
"@rollup/plugin-node-resolve": "^16.0.3",
"@sanity/generate-help-url": "^3.0.1",
"@sanity/pkg-utils": "^10.2.6",
"@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",
"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.2.7",
"vitest": "^3.2.4",
"which": "^2.0.2",
"xdg-basedir": "^4.0.0",
"@repo/eslint-config": "5.2.0",
"@repo/package.config": "5.2.0",
"@repo/test-config": "5.2.0",
"@repo/tsconfig": "5.2.0",
"@sanity/types": "5.2.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"
}
}