UNPKG

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

260 lines • 8.16 kB
{ "name": "sanity", "version": "5.20.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": [ "cms", "content", "headless", "realtime", "sanity" ], "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" }, "bin": { "sanity": "./bin/sanity" }, "files": [ "bin", "lib", "dist", "static", "mock-browser-env-stub-loader.mjs" ], "type": "module", "sideEffects": false, "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" ] } }, "exports": { ".": "./lib/index.js", "./_internal": "./lib/_internal.js", "./_singletons": "./lib/_singletons.js", "./_createContext": "./lib/_createContext.js", "./cli": "./lib/cli.js", "./desk": "./lib/desk.js", "./presentation": "./lib/presentation.js", "./router": "./lib/router.js", "./structure": "./lib/structure.js", "./media-library": "./lib/media-library.js", "./migrate": "./lib/migrate.js", "./package.json": "./package.json" }, "dependencies": { "@algorithm.ts/lcs": "^4.0.5", "@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.10.2", "@portabletext/editor": "^6.6.0", "@portabletext/html": "^1.0.1", "@portabletext/patches": "^2.0.4", "@portabletext/plugin-markdown-shortcuts": "^7.0.23", "@portabletext/plugin-one-line": "^6.0.23", "@portabletext/plugin-paste-link": "^3.0.23", "@portabletext/plugin-typography": "^7.0.23", "@portabletext/react": "^6.0.3", "@portabletext/sanity-bridge": "^3.0.0", "@portabletext/to-html": "^5.0.2", "@portabletext/toolkit": "^5.0.2", "@rexxars/react-json-inspector": "^9.0.1", "@sanity/asset-utils": "^2.3.0", "@sanity/bifur-client": "^1.0.0", "@sanity/cli": "^6.3.1", "@sanity/client": "^7.18.0", "@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/icons": "^3.7.4", "@sanity/id-utils": "^1.0.0", "@sanity/image-url": "^2.0.3", "@sanity/insert-menu": "^3.0.4", "@sanity/logos": "^2.2.2", "@sanity/media-library-types": "^1.2.0", "@sanity/message-protocol": "^0.19.0", "@sanity/migrate": "^6.0.0", "@sanity/mutate": "^0.16.1", "@sanity/presentation-comlink": "^2.0.1", "@sanity/preview-url-secret": "^4.0.4", "@sanity/sdk": "2.1.2", "@sanity/telemetry": "^0.9.0", "@sanity/ui": "^3.1.14", "@sanity/uuid": "^3.0.2", "@sentry/react": "^8.55.0", "@tanstack/react-table": "^8.21.3", "@tanstack/react-virtual": "^3.13.18", "@xstate/react": "^6.0.0", "classnames": "^2.2.5", "color2k": "^2.0.3", "dataloader": "^2.2.3", "date-fns": "^4.1.0", "debug": "^4.4.3", "exif-component": "^1.0.1", "fast-deep-equal": "3.1.3", "groq-js": "^1.29.0", "history": "^5.3.0", "i18next": "^25.8.17", "is-hotkey-esm": "^1.0.0", "isomorphic-dompurify": "2.26.0", "json-reduce": "^3.0.0", "json-stable-stringify": "^1.3.0", "lodash-es": "^4.18.1", "mendoza": "^3.0.8", "motion": "^12.27.1", "nano-pubsub": "^3.0.0", "nanoid": "^3.3.11", "observable-callback": "^1.0.3", "path-to-regexp": "^6.3.0", "player.style": "^0.1.9", "polished": "^4.3.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.4", "react-refractor": "^4.0.0", "react-rx": "^4.2.2", "refractor": "^5.0.0", "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", "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", "web-vitals": "^5.1.0", "xstate": "^5.25.1", "@sanity/diff": "5.20.0", "@sanity/mutator": "5.20.0", "@sanity/types": "5.20.0", "@sanity/schema": "5.20.0", "@sanity/util": "5.20.0" }, "devDependencies": { "@playwright/experimental-ct-react": "1.58.2", "@playwright/test": "1.58.2", "@sanity/eslint-config-i18n": "^2.0.0", "@sanity/generate-help-url": "^4.0.0", "@sanity/pkg-utils": "^10.4.10", "@sanity/visual-editing-csm": "^3.0.6", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.1", "@testing-library/user-event": "^14.6.1", "@types/debug": "^4.1.12", "@types/lodash-es": "^4.17.12", "@types/node": "^24.3.0", "@types/raf": "^3.4.3", "@types/react": "^19.2.11", "@types/react-dom": "^19.2.3", "@types/react-is": "^19.2.0", "@types/semver": "^7.7.0", "@types/shallow-equals": "^1.0.3", "@types/speakingurl": "^13.0.6", "@types/use-sync-external-store": "^1.5.0", "@types/wicg-task-scheduling": "^2024.1.0", "@typescript/native-preview": "7.0.0-dev.20260112.1", "@vitejs/plugin-react": "^5.1.2", "@vitest/expect": "^4.0.18", "babel-plugin-react-compiler": "1.0.0", "babel-plugin-styled-components": "^2.1.4", "blob-polyfill": "^9.0.20240710", "eslint": "^9.39.2", "eslint-plugin-boundaries": "^5.3.1", "eslint-plugin-testing-library": "^7.15.4", "globals": "^16.2.0", "jsdom": "^26.1.0", "react": "^19.2.4", "react-dom": "^19.2.4", "rimraf": "^6.1.3", "rxjs-etc": "^10.6.2", "styled-components": "npm:@sanity/styled-components@^6.1.24", "swr": "2.2.5", "tsx": "^4.21.0", "vite": "^7.3.1", "vitest": "^4.0.18", "vitest-package-exports": "^1.1.2", "@repo/eslint-config": "5.20.0", "@repo/package.config": "5.20.0", "@repo/test-config": "5.20.0", "@repo/package.bundle": "5.20.0", "@repo/tsconfig": "5.20.0" }, "peerDependencies": { "react": "^19.2.2", "react-dom": "^19.2.2", "styled-components": "^6.1.15" }, "browserslist": [ "node >=20.19", "node >=22.12", "baseline 2024" ], "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.check.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", "docs:typedocs:cleanup": "rimraf docs", "docs:typedocs:generate": "typedoc --options typedoc.config.json", "lint": "eslint .", "test": "vitest run", "test:ct": "rimraf playwright-ct/template/.cache && playwright test -c playwright-ct.config.ts", "watch": "pkg-utils watch" } }