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

232 lines • 7.63 kB
{ "name": "sanity", "version": "6.4.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", "main": "./lib/index.js", "types": "./lib/index.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", "./bundle.css": { "browser": "./lib/bundle.css", "style": "./lib/bundle.css", "node": "./lib/bundle.css.js", "default": "./lib/bundle.css.js" }, "./package.json": "./package.json" }, "dependencies": { "@algorithm.ts/lcs": "^4.0.6", "@date-fns/tz": "^1.5.0", "@dnd-kit/core": "^6.3.1", "@dnd-kit/modifiers": "^9.0.0", "@dnd-kit/sortable": "^10.0.0", "@dnd-kit/utilities": "^3.2.2", "@isaacs/ttlcache": "^1.4.1", "@mux/mux-player-react": "^3.13.0", "@portabletext/editor": "^7.10.1", "@portabletext/html": "^1.1.0", "@portabletext/patches": "^2.0.5", "@portabletext/plugin-dnd": "^1.0.13", "@portabletext/plugin-list-index": "^1.0.13", "@portabletext/plugin-markdown-shortcuts": "^8.0.28", "@portabletext/plugin-one-line": "^7.0.28", "@portabletext/plugin-paste-link": "^4.0.28", "@portabletext/plugin-typography": "^8.0.28", "@portabletext/react": "^6.2.0", "@portabletext/sanity-bridge": "^3.2.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": "^7.5.0", "@sanity/client": "^7.23.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": "^5.0.0", "@sanity/id-utils": "^1.0.0", "@sanity/image-url": "^2.1.1", "@sanity/insert-menu": "^3.0.8", "@sanity/logos": "^2.2.2", "@sanity/media-library-types": "^1.5.0", "@sanity/message-protocol": "^0.23.0", "@sanity/migrate": "^7.0.3", "@sanity/mutate": "^0.18.1", "@sanity/presentation-comlink": "^2.1.0", "@sanity/preview-url-secret": "^4.0.7", "@sanity/prism-groq": "^1.1.2", "@sanity/sdk": "^2.15.0", "@sanity/telemetry": "^1.1.0", "@sanity/ui": "^3.3.0", "@sanity/uuid": "^3.0.3", "@sentry/react": "^10.62.0", "@tanstack/react-table": "^8.21.3", "@tanstack/react-virtual": "^3.14.4", "@xstate/react": "^6.1.0", "clsx": "^2.1.1", "color2k": "^2.0.3", "dataloader": "^2.2.3", "date-fns": "^4.4.0", "debug": "^4.4.3", "exif-component": "^1.0.1", "fast-deep-equal": "3.1.3", "groq-js": "^1.30.3", "history": "^5.3.0", "i18next": "^26.3.3", "is-hotkey-esm": "^1.0.0", "is-network-error": "^1.3.1", "isomorphic-dompurify": "2.36.0", "json-reduce": "^3.0.0", "json-stable-stringify": "^1.3.0", "lodash-es": "^4.18.1", "mendoza": "^3.0.8", "motion": "^12.42.0", "nano-pubsub": "^3.0.0", "nanoid": "^5.1.16", "observable-callback": "^1.0.3", "path-to-regexp": "^6.3.0", "player.style": "^0.3.4", "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": "^17.0.8", "react-is": "^19.2.7", "react-refractor": "^4.0.0", "react-rx": "^4.2.3", "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.8.5", "shallow-equals": "^1.0.0", "speakingurl": "^14.0.1", "swr": "^2.4.2", "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": "^14.0.1", "web-vitals": "^5.3.0", "xstate": "^5.32.2", "@sanity/mutator": "6.4.0", "@sanity/diff": "6.4.0", "@sanity/schema": "6.4.0", "@sanity/types": "6.4.0", "@sanity/util": "6.4.0" }, "devDependencies": { "@rolldown/plugin-babel": "^0.2.3", "@sanity/generate-help-url": "^4.0.0", "@sanity/pkg-utils": "^10.9.0", "@sanity/visual-editing-csm": "^3.0.10", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", "@types/debug": "^4.1.13", "@types/lodash-es": "^4.17.12", "@types/node": "^24.13.2", "@types/raf": "^3.4.3", "@types/react": "^19.2.17", "@types/react-dom": "^19.2.3", "@types/react-is": "^19.2.0", "@types/semver": "^7.7.1", "@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": "beta", "@vanilla-extract/css": "^1.21.1", "@vanilla-extract/vite-plugin": "^5.2.3", "@vitejs/plugin-react": "^6.0.3", "@vitest/browser-playwright": "^4.1.9", "@vitest/expect": "^4.1.9", "babel-plugin-react-compiler": "^1.0.0", "babel-plugin-styled-components": "^2.3.0", "blob-polyfill": "^9.0.20240710", "jsdom": "^29.1.1", "react": "^19.2.7", "react-dom": "^19.2.7", "rimraf": "^6.1.3", "rxjs-etc": "^10.6.2", "styled-components": "npm:@sanity/styled-components@^6.1.24", "tsx": "^4.22.4", "vite": "^8.1.0", "vitest": "^4.1.9", "vitest-browser-react": "^2.2.0", "vitest-package-exports": "^1.2.0", "@repo/package.bundle": "6.4.0", "@repo/package.config": "6.4.0", "@repo/test-config": "6.4.0", "@repo/tsconfig": "6.4.0" }, "peerDependencies": { "react": "^19.2.2", "react-dom": "^19.2.2", "styled-components": "^6.1.15" }, "browserslist": [ "node >=22.12", "baseline 2024" ], "engines": { "node": ">=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", "test": "vitest run", "test:browser": "vitest run -c vitest.browser.config.mts", "watch": "pkg-utils watch" } }