sanity
Version:
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
330 lines • 9.95 kB
JSON
{
"name": "sanity",
"version": "5.1.0",
"description": "Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches",
"keywords": [
"sanity",
"cms",
"headless",
"realtime",
"content"
],
"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"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"source": "./src/_exports/index.ts",
"default": "./lib/index.js"
},
"./_internal": {
"source": "./src/_exports/_internal.ts",
"default": "./lib/_internal.js"
},
"./_singletons": {
"source": "./src/_exports/_singletons.ts",
"default": "./lib/_singletons.js"
},
"./_createContext": {
"source": "./src/_exports/_createContext.ts",
"default": "./lib/_createContext.js"
},
"./cli": {
"source": "./src/_exports/cli.ts",
"default": "./lib/cli.js"
},
"./desk": {
"source": "./src/_exports/desk.ts",
"default": "./lib/desk.js"
},
"./presentation": {
"source": "./src/_exports/presentation.ts",
"default": "./lib/presentation.js"
},
"./router": {
"source": "./src/_exports/router.ts",
"default": "./lib/router.js"
},
"./structure": {
"source": "./src/_exports/structure.ts",
"default": "./lib/structure.js"
},
"./media-library": {
"source": "./src/_exports/media-library.ts",
"default": "./lib/media-library.js"
},
"./migrate": {
"source": "./src/_exports/migrate.ts",
"default": "./lib/migrate.js"
},
"./package.json": "./package.json"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"typesVersions": {
"*": {
"_internal": [
"./lib/_internal.d.ts"
],
"_singletons": [
"./lib/_singletons.d.ts"
],
"_createContext": [
"./lib/_createContext.d.ts"
],
"cli": [
"./lib/cli.d.ts"
],
"desk": [
"./lib/desk.d.ts"
],
"migrate": [
"./lib/migrate.d.ts"
],
"presentation": [
"./lib/presentation.d.ts"
],
"router": [
"./lib/router.d.ts"
],
"structure": [
"./lib/structure.d.ts"
]
}
},
"bin": {
"sanity": "./bin/sanity"
},
"files": [
"bin",
"lib",
"dist",
"static"
],
"dependencies": {
"@date-fns/tz": "^1.4.1",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^6.0.1",
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.2",
"@isaacs/ttlcache": "^1.4.1",
"@juggle/resize-observer": "^3.4.0",
"@mux/mux-player-react": "^3.8.0",
"@portabletext/block-tools": "^5.0.0",
"@portabletext/editor": "^4.0.1",
"@portabletext/patches": "^2.0.3",
"@portabletext/plugin-markdown-shortcuts": "^5.0.1",
"@portabletext/plugin-one-line": "^4.0.1",
"@portabletext/plugin-typography": "^5.0.1",
"@portabletext/react": "^6.0.0",
"@portabletext/toolkit": "^5.0.0",
"@rexxars/react-json-inspector": "^9.0.1",
"@sanity/asset-utils": "^2.3.0",
"@sanity/bifur-client": "^0.4.1",
"@sanity/client": "^7.13.2",
"@sanity/color": "^3.0.6",
"@sanity/comlink": "^4.0.1",
"@sanity/diff-match-patch": "^3.2.0",
"@sanity/diff-patch": "^5.0.0",
"@sanity/eventsource": "^5.0.2",
"@sanity/export": "^6.0.2",
"@sanity/icons": "^3.7.4",
"@sanity/id-utils": "^1.0.0",
"@sanity/image-url": "^2.0.1",
"@sanity/import": "^4.0.1",
"@sanity/insert-menu": "^3.0.2",
"@sanity/logos": "^2.2.2",
"@sanity/media-library-types": "^1.0.2",
"@sanity/message-protocol": "^0.17.8",
"@sanity/presentation-comlink": "^2.0.1",
"@sanity/preview-url-secret": "^4.0.1",
"@sanity/sdk": "2.1.2",
"@sanity/telemetry": "^0.8.0",
"@sanity/ui": "^3.1.11",
"@sanity/uuid": "^3.0.2",
"@sentry/react": "^8.55.0",
"@tanstack/react-table": "^8.21.3",
"@tanstack/react-virtual": "^3.13.13",
"@types/react-is": "^19.2.0",
"@types/shallow-equals": "^1.0.3",
"@types/speakingurl": "^13.0.6",
"@types/tar-stream": "^3.1.4",
"@types/use-sync-external-store": "^1.5.0",
"@types/which": "^3.0.4",
"@vitejs/plugin-react": "^5.1.1",
"@xstate/react": "^6.0.0",
"archiver": "^7.0.1",
"arrify": "^2.0.1",
"async-mutex": "^0.5.0",
"chalk": "^4.1.2",
"chokidar": "^3.6.0",
"classnames": "^2.2.5",
"color2k": "^2.0.3",
"configstore": "^5.0.1",
"console-table-printer": "^2.14.6",
"dataloader": "^2.2.3",
"date-fns": "^4.1.0",
"debug": "^4.4.3",
"esbuild": "0.27.1",
"esbuild-register": "^3.6.0",
"execa": "^2.1.0",
"exif-component": "^1.0.1",
"fast-deep-equal": "3.1.3",
"form-data": "^4.0.5",
"get-it": "^8.7.0",
"groq-js": "^1.24.0",
"gunzip-maybe": "^1.4.2",
"history": "^5.3.0",
"i18next": "^23.16.8",
"import-fresh": "^3.3.1",
"is-hotkey-esm": "^1.0.0",
"is-tar": "^1.0.0",
"isomorphic-dompurify": "2.26.0",
"jsdom": "^26.1.0",
"jsdom-global": "^3.0.2",
"json-lexer": "^1.2.0",
"json-reduce": "^3.0.0",
"json5": "^2.2.3",
"lodash-es": "^4.17.21",
"log-symbols": "^2.2.0",
"mendoza": "^3.0.8",
"module-alias": "^2.2.3",
"motion": "^12.23.26",
"nano-pubsub": "^3.0.0",
"nanoid": "^3.3.11",
"node-html-parser": "^6.1.13",
"observable-callback": "^1.0.3",
"oneline": "^1.0.4",
"open": "^8.4.2",
"p-map": "^7.0.0",
"path-to-regexp": "^6.3.0",
"peek-stream": "^1.1.3",
"pirates": "^4.0.7",
"player.style": "^0.1.9",
"pluralize-esm": "^9.0.5",
"polished": "^4.3.1",
"preferred-pm": "^4.1.1",
"pretty-ms": "^7.0.1",
"quick-lru": "^7.3.0",
"raf": "^3.4.1",
"react-fast-compare": "^3.2.2",
"react-focus-lock": "^2.13.7",
"react-i18next": "15.6.1",
"react-is": "^19.2.3",
"react-refractor": "^4.0.0",
"react-rx": "^4.2.2",
"read-pkg-up": "^7.0.1",
"refractor": "^5.0.0",
"resolve-from": "^5.0.0",
"resolve.exports": "^2.0.3",
"rimraf": "^5.0.10",
"rxjs": "^7.8.2",
"rxjs-exhaustmap-with-trailing": "^2.1.1",
"rxjs-mergemap-array": "^0.1.0",
"scroll-into-view-if-needed": "^3.1.0",
"scrollmirror": "^1.2.4",
"semver": "^7.7.2",
"shallow-equals": "^1.0.0",
"speakingurl": "^14.0.1",
"tar-fs": "^2.1.3",
"tar-stream": "^3.1.7",
"tinyglobby": "^0.2.14",
"urlpattern-polyfill": "10.1.0",
"use-device-pixel-ratio": "^1.1.2",
"use-hot-module-reload": "^2.0.0",
"use-sync-external-store": "^1.6.0",
"uuid": "^11.1.0",
"vite": "^7.2.7",
"which": "^5.0.0",
"xstate": "^5.25.0",
"yargs": "^17.7.2",
"@sanity/cli": "5.1.0",
"@sanity/diff": "5.1.0",
"@sanity/migrate": "5.1.0",
"@sanity/mutator": "5.1.0",
"@sanity/schema": "5.1.0",
"@sanity/types": "5.1.0",
"@sanity/util": "5.1.0"
},
"devDependencies": {
"@playwright/experimental-ct-react": "1.56.1",
"@playwright/test": "1.56.1",
"@sanity/descriptors": "^1.2.1",
"@sanity/eslint-config-i18n": "^2.0.0",
"@sanity/generate-help-url": "^3.0.1",
"@sanity/pkg-utils": "^10.2.1",
"@sanity/ui-workshop": "^3.4.0",
"@sanity/visual-editing-csm": "^3.0.3",
"@sentry/types": "^8.55.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/archiver": "^6.0.3",
"@types/configstore": "^5.0.1",
"@types/debug": "^4.1.12",
"@types/gunzip-maybe": "^1.4.2",
"@types/jsdom": "27.0.0",
"@types/lodash-es": "^4.17.12",
"@types/log-symbols": "^2.0.0",
"@types/module-alias": "^2.0.4",
"@types/node": "^24.3.0",
"@types/raf": "^3.4.3",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@types/semver": "^7.7.0",
"@types/tar-fs": "^2.0.4",
"@types/wicg-task-scheduling": "^2024.1.0",
"@types/yargs": "^17.0.33",
"@typescript/native-preview": "7.0.0-dev.20251128.1",
"@vitest/expect": "^3.2.4",
"babel-plugin-react-compiler": "1.0.0",
"blob-polyfill": "^9.0.20240710",
"eslint": "^9.39.2",
"eslint-plugin-boundaries": "^5.3.1",
"eslint-plugin-testing-library": "^7.13.6",
"globals": "^16.2.0",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"rxjs-etc": "^10.6.2",
"styled-components": "npm:@sanity/styled-components@^6.1.24",
"swr": "2.2.5",
"vitest": "^3.2.4",
"vitest-package-exports": "^0.1.1",
"@repo/eslint-config": "5.1.0",
"@repo/package.config": "5.1.0",
"@repo/dev-aliases": "5.1.0",
"@repo/package.bundle": "5.1.0",
"@repo/tsconfig": "5.1.0",
"@sanity/codegen": "5.1.0",
"@repo/test-config": "5.1.0"
},
"peerDependencies": {
"react": "^19.2.2",
"react-dom": "^19.2.2",
"styled-components": "^6.1.15"
},
"engines": {
"node": ">=20.19 <22 || >=22.12"
},
"scripts": {
"build": "pnpm clean && pkg-utils build --strict --check --clean",
"build:bundle": "vite build --configLoader runner --config package.bundle.ts",
"check:types": "(cd ../.. && tsgo --project packages/sanity/tsconfig.lib.json --erasableSyntaxOnly)",
"clean": "rimraf _internal.js _singletons.js _createContext.js cli.js desk.js migrate.js presentation.js router.js structure.js lib",
"coverage": "vitest --coverage",
"lint": "eslint .",
"test": "vitest run",
"test:ct": "rimraf playwright-ct/template/.cache && playwright test -c playwright-ct.config.ts",
"watch": "pkg-utils watch"
}
}