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

329 lines (328 loc) • 9.81 kB
{ "name": "sanity", "version": "3.82.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": "commonjs", "exports": { ".": { "source": "./src/_exports/index.ts", "import": "./lib/index.mjs", "require": "./lib/index.js", "default": "./lib/index.js" }, "./_internal": { "source": "./src/_exports/_internal.ts", "require": "./lib/_internal.js", "default": "./lib/_internal.js" }, "./_singletons": { "source": "./src/_exports/_singletons.ts", "import": "./lib/_singletons.mjs", "require": "./lib/_singletons.js", "default": "./lib/_singletons.js" }, "./_createContext": { "source": "./src/_exports/_createContext.ts", "import": "./lib/_createContext.mjs", "require": "./lib/_createContext.js", "default": "./lib/_createContext.js" }, "./cli": { "source": "./src/_exports/cli.ts", "require": "./lib/cli.js", "default": "./lib/cli.js" }, "./desk": { "source": "./src/_exports/desk.ts", "import": "./lib/desk.mjs", "require": "./lib/desk.js", "default": "./lib/desk.js" }, "./presentation": { "source": "./src/_exports/presentation.ts", "import": "./lib/presentation.mjs", "require": "./lib/presentation.js", "default": "./lib/presentation.js" }, "./router": { "source": "./src/_exports/router.ts", "import": "./lib/router.mjs", "require": "./lib/router.js", "default": "./lib/router.js" }, "./structure": { "source": "./src/_exports/structure.ts", "import": "./lib/structure.mjs", "require": "./lib/structure.js", "default": "./lib/structure.js" }, "./migrate": { "source": "./src/_exports/migrate.ts", "require": "./lib/migrate.js", "default": "./lib/migrate.js" }, "./package.json": "./package.json" }, "main": "./lib/index.js", "module": "./lib/index.mjs", "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", "src", "static", "!**/__test__/**", "!**/__tests__/**", "!**/__mocks__/**", "!**/__fixtures__/**", "!**/__workshop__/**" ], "scripts": { "build": "pnpm clean && pkg-utils build --strict --check --clean", "build:bundle": "vite build --config package.bundle.ts", "check:types": "tsc --project tsconfig.lib.json", "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 --cache .", "prepublishOnly": "turbo run build", "test": "vitest run", "test:ct": "rimraf playwright-ct/template/.cache && playwright test -c playwright-ct.config.ts", "watch": "pkg-utils watch" }, "dependencies": { "@dnd-kit/core": "^6.0.5", "@dnd-kit/modifiers": "^6.0.0", "@dnd-kit/sortable": "^7.0.1", "@dnd-kit/utilities": "^3.2.0", "@juggle/resize-observer": "^3.3.1", "@portabletext/block-tools": "^1.1.16", "@portabletext/editor": "^1.44.4", "@portabletext/react": "^3.0.0", "@portabletext/toolkit": "^2.0.16", "@rexxars/react-json-inspector": "^9.0.1", "@sanity/asset-utils": "^2.0.6", "@sanity/bifur-client": "^0.4.1", "@sanity/cli": "3.82.0", "@sanity/client": "^6.28.4", "@sanity/color": "^3.0.0", "@sanity/comlink": "^3.0.1", "@sanity/diff": "3.82.0", "@sanity/diff-match-patch": "^3.1.1", "@sanity/diff-patch": "^5.0.0", "@sanity/eventsource": "^5.0.0", "@sanity/export": "^3.42.2", "@sanity/icons": "^3.7.0", "@sanity/image-url": "^1.0.2", "@sanity/import": "^3.38.0", "@sanity/insert-menu": "^1.1.7", "@sanity/logos": "^2.1.13", "@sanity/migrate": "3.82.0", "@sanity/mutator": "3.82.0", "@sanity/presentation-comlink": "^1.0.13", "@sanity/preview-url-secret": "^2.1.6", "@sanity/schema": "3.82.0", "@sanity/telemetry": "^0.8.0", "@sanity/types": "3.82.0", "@sanity/ui": "^2.15.10", "@sanity/util": "3.82.0", "@sanity/uuid": "^3.0.2", "@sentry/react": "^8.33.0", "@tanstack/react-table": "^8.16.0", "@tanstack/react-virtual": "^3.11.2", "@types/react-is": "^19.0.0", "@types/shallow-equals": "^1.0.0", "@types/speakingurl": "^13.0.3", "@types/tar-stream": "^3.1.3", "@types/use-sync-external-store": "^0.0.6", "@vitejs/plugin-react": "^4.3.4", "archiver": "^7.0.0", "arrify": "^2.0.1", "async-mutex": "^0.4.1", "chalk": "^4.1.2", "chokidar": "^3.5.3", "classnames": "^2.2.5", "color2k": "^2.0.0", "configstore": "^5.0.1", "console-table-printer": "^2.11.1", "dataloader": "^2.1.0", "date-fns": "^2.26.1", "debug": "^4.3.4", "esbuild": "0.21.5", "esbuild-register": "^3.5.0", "execa": "^2.0.0", "exif-component": "^1.0.1", "fast-deep-equal": "3.1.3", "form-data": "^4.0.0", "framer-motion": "^12.6.2", "get-it": "^8.6.7", "get-random-values-esm": "1.0.2", "groq-js": "^1.16.1", "history": "^5.3.0", "i18next": "^23.2.7", "import-fresh": "^3.3.0", "is-hotkey-esm": "^1.0.0", "isomorphic-dompurify": "^2.19.0", "jsdom": "^23.0.1", "jsdom-global": "^3.0.2", "json-lexer": "^1.2.0", "json-reduce": "^3.0.0", "json5": "^2.2.3", "lodash": "^4.17.21", "log-symbols": "^2.2.0", "mendoza": "^3.0.0", "module-alias": "^2.2.2", "nano-pubsub": "^3.0.0", "nanoid": "^3.1.30", "node-html-parser": "^6.1.13", "observable-callback": "^1.0.1", "oneline": "^1.0.3", "open": "^8.4.0", "p-map": "^7.0.0", "path-to-regexp": "^6.3.0", "pirates": "^4.0.0", "pluralize-esm": "^9.0.2", "polished": "^4.2.2", "pretty-ms": "^7.0.1", "quick-lru": "^5.1.1", "raf": "^3.4.1", "react-compiler-runtime": "19.0.0-beta-e993439-20250328", "react-fast-compare": "^3.2.0", "react-focus-lock": "^2.13.6", "react-i18next": "14.0.2", "react-is": "^18.2.0", "react-refractor": "^2.1.6", "react-rx": "^4.1.26", "read-pkg-up": "^7.0.1", "refractor": "^3.6.0", "resolve-from": "^5.0.0", "resolve.exports": "^2.0.2", "rimraf": "^5.0.10", "rxjs": "^7.8.0", "rxjs-exhaustmap-with-trailing": "^2.1.1", "rxjs-mergemap-array": "^0.1.0", "scroll-into-view-if-needed": "^3.0.3", "scrollmirror": "^1.2.0", "semver": "^7.3.5", "shallow-equals": "^1.0.0", "speakingurl": "^14.0.1", "suspend-react": "0.1.3", "tar-fs": "^2.1.1", "tar-stream": "^3.1.7", "use-device-pixel-ratio": "^1.1.0", "use-effect-event": "^1.0.2", "use-hot-module-reload": "^2.0.0", "use-sync-external-store": "^1.2.0", "uuid": "^11.0.5", "valibot": "0.31.1", "vite": "^6.0.11", "yargs": "^17.3.0" }, "devDependencies": { "@playwright/experimental-ct-react": "1.51.1", "@playwright/test": "1.51.1", "@repo/dev-aliases": "3.82.0", "@repo/package.config": "3.82.0", "@repo/test-config": "3.82.0", "@sanity/codegen": "3.82.0", "@sanity/generate-help-url": "^3.0.0", "@sanity/pkg-utils": "6.13.4", "@sanity/tsdoc": "1.0.169", "@sanity/ui-workshop": "^1.2.11", "@sanity/visual-editing-csm": "^2.0.10", "@sentry/types": "^8.12.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@testing-library/user-event": "^13.5.0", "@types/archiver": "^6.0.2", "@types/configstore": "^5.0.1", "@types/debug": "^4.1.12", "@types/jsdom": "^20.0.0", "@types/lodash": "^4.17.7", "@types/log-symbols": "^2.0.0", "@types/node": "^22.10.0", "@types/raf": "^3.4.0", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "@types/refractor": "^3.0.0", "@types/resolve-from": "^4.0.0", "@types/semver": "^6.2.3", "@types/tar-fs": "^2.0.1", "@types/wicg-task-scheduling": "^2024.1.0", "@vitejs/plugin-react": "^4.3.4", "@vitest/expect": "^3.1.1", "@vvo/tzdb": "6.137.0", "babel-plugin-react-compiler": "19.0.0-beta-e993439-20250328", "blob-polyfill": "^9.0.20240710", "date-fns-tz": "2.0.1", "react": "^18.3.1", "react-dom": "^18.3.1", "rxjs-etc": "^10.6.2", "styled-components": "^6.1.16", "swr": "2.2.5", "vitest": "^3.1.1", "vitest-package-exports": "^0.1.1" }, "peerDependencies": { "react": "^18 || ^19", "react-dom": "^18 || ^19", "styled-components": "^6.1.15" }, "engines": { "node": ">=18" }, "gitHead": "4e83852759628260ad60f565bcaa61f95881eedc" }