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
345 lines (344 loc) • 10.3 kB
JSON
{
"name": "sanity",
"version": "3.35.2",
"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,
"exports": {
".": {
"types": "./lib/exports/index.d.ts",
"source": "./exports/index.ts",
"require": "./lib/index.js",
"node": {
"module": "./lib/index.esm.js",
"import": "./lib/index.cjs.mjs"
},
"import": "./lib/index.esm.js",
"default": "./lib/index.esm.js"
},
"./_internal": {
"types": "./lib/exports/_internal.d.ts",
"source": "./exports/_internal.ts",
"require": "./lib/_internal.js",
"node": {
"module": "./lib/_internal.esm.js",
"import": "./lib/_internal.cjs.mjs"
},
"import": "./lib/_internal.esm.js",
"default": "./lib/_internal.esm.js"
},
"./_internalBrowser": {
"types": "./lib/exports/_internalBrowser.d.ts",
"source": "./exports/_internalBrowser.ts",
"require": "./lib/_internalBrowser.js",
"node": {
"module": "./lib/_internalBrowser.esm.js",
"import": "./lib/_internalBrowser.cjs.mjs"
},
"import": "./lib/_internalBrowser.esm.js",
"default": "./lib/_internalBrowser.esm.js"
},
"./cli": {
"types": "./lib/exports/cli.d.ts",
"source": "./exports/cli.ts",
"require": "./lib/cli.js",
"node": {
"module": "./lib/cli.esm.js",
"import": "./lib/cli.cjs.mjs"
},
"import": "./lib/cli.esm.js",
"default": "./lib/cli.esm.js"
},
"./desk": {
"types": "./lib/exports/desk.d.ts",
"source": "./exports/desk.ts",
"require": "./lib/desk.js",
"node": {
"module": "./lib/desk.esm.js",
"import": "./lib/desk.cjs.mjs"
},
"import": "./lib/desk.esm.js",
"default": "./lib/desk.esm.js"
},
"./presentation": {
"types": "./lib/exports/presentation.d.ts",
"source": "./exports/presentation.ts",
"require": "./lib/presentation.js",
"node": {
"module": "./lib/presentation.esm.js",
"import": "./lib/presentation.cjs.mjs"
},
"import": "./lib/presentation.esm.js",
"default": "./lib/presentation.esm.js"
},
"./router": {
"types": "./lib/exports/router.d.ts",
"source": "./exports/router.ts",
"require": "./lib/router.js",
"node": {
"module": "./lib/router.esm.js",
"import": "./lib/router.cjs.mjs"
},
"import": "./lib/router.esm.js",
"default": "./lib/router.esm.js"
},
"./structure": {
"types": "./lib/exports/structure.d.ts",
"source": "./exports/structure.ts",
"require": "./lib/structure.js",
"node": {
"module": "./lib/structure.esm.js",
"import": "./lib/structure.cjs.mjs"
},
"import": "./lib/structure.esm.js",
"default": "./lib/structure.esm.js"
},
"./migrate": {
"types": "./lib/exports/migrate.d.ts",
"source": "./exports/migrate.ts",
"require": "./lib/migrate.js",
"node": {
"module": "./lib/migrate.esm.js",
"import": "./lib/migrate.cjs.mjs"
},
"import": "./lib/migrate.esm.js",
"default": "./lib/migrate.esm.js"
},
"./package.json": "./package.json"
},
"main": "./lib/index.js",
"module": "./lib/index.esm.js",
"source": "./exports/index.ts",
"types": "./lib/exports/index.d.ts",
"typesVersions": {
"*": {
"_internal": [
"./lib/exports/_internal.d.ts"
],
"cli": [
"./lib/exports/cli.d.ts"
],
"desk": [
"./lib/exports/desk.d.ts"
],
"presentation": [
"./lib/exports/presentation.d.ts"
],
"migrate": [
"./lib/exports/migrate.d.ts"
],
"migrate/mutations": [
"./lib/exports/migrate-mutations.d.ts"
],
"router": [
"./lib/exports/router.d.ts"
],
"structure": [
"./lib/exports/structure.d.ts"
]
}
},
"bin": {
"sanity": "./bin/sanity"
},
"files": [
"_internal.js",
"bin",
"cli.js",
"desk.js",
"lib",
"router.js",
"presentation.js",
"src",
"static",
"structure.js",
"!**/__test__/**",
"!**/__tests__/**",
"!**/__workshop__/**"
],
"scripts": {
"prebuild": "run-s clean",
"build": "pkg-utils build --tsconfig tsconfig.lib.json",
"postbuild": "run-s check:package",
"check:package": "pkg-utils --tsconfig tsconfig.lib.json",
"clean": "rimraf _internal.js cli.js desk.js lib presentation.js router.js",
"coverage": "jest --coverage",
"lint": "eslint .",
"test": "pkg-utils --strict && jest",
"test:ct": "playwright test -c playwright-ct.config.ts",
"watch": "pkg-utils watch --tsconfig tsconfig.lib.json",
"write:playwright-report-as-pr-comment": "node -r esbuild-register playwright-ct/scripts/parsePlaywrightReportJson.ts"
},
"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/react": "^3.0.0",
"@rexxars/react-json-inspector": "^8.0.1",
"@sanity/asset-utils": "^1.2.5",
"@sanity/bifur-client": "^0.3.1",
"@sanity/block-tools": "3.35.2",
"@sanity/cli": "3.35.2",
"@sanity/client": "^6.15.6",
"@sanity/codegen": "3.35.2",
"@sanity/color": "^3.0.0",
"@sanity/diff": "3.35.2",
"@sanity/diff-match-patch": "^3.1.1",
"@sanity/eventsource": "^5.0.0",
"@sanity/export": "3.35.2",
"@sanity/generate-help-url": "^3.0.0",
"@sanity/icons": "^2.11.0",
"@sanity/image-url": "^1.0.2",
"@sanity/import": "3.35.2",
"@sanity/logos": "^2.1.4",
"@sanity/migrate": "3.35.2",
"@sanity/mutator": "3.35.2",
"@sanity/portable-text-editor": "3.35.2",
"@sanity/presentation": "1.11.8",
"@sanity/schema": "3.35.2",
"@sanity/telemetry": "^0.7.6",
"@sanity/types": "3.35.2",
"@sanity/ui": "^2.0.10",
"@sanity/util": "3.35.2",
"@sanity/uuid": "^3.0.1",
"@tanstack/react-virtual": "3.0.0-beta.54",
"@types/is-hotkey": "^0.1.7",
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-is": "^18.2.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.2.1",
"archiver": "^7.0.0",
"arrify": "^1.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",
"connect-history-api-fallback": "^1.6.0",
"console-table-printer": "^2.11.1",
"dataloader": "^2.1.0",
"date-fns": "^2.26.1",
"debug": "^4.3.4",
"esbuild": "^0.20.0",
"esbuild-register": "^3.4.1",
"execa": "^2.0.0",
"exif-component": "^1.0.1",
"framer-motion": "^11.0.0",
"get-it": "^8.4.16",
"get-random-values-esm": "1.0.2",
"groq-js": "^1.5.0",
"hashlru": "^2.3.0",
"history": "^5.3.0",
"i18next": "^23.2.7",
"import-fresh": "^3.3.0",
"is-hotkey": "^0.2.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": "^2.0.1",
"nanoid": "^3.1.30",
"observable-callback": "^1.0.1",
"oneline": "^1.0.3",
"open": "^8.4.0",
"p-map": "^7.0.0",
"pirates": "^4.0.0",
"pluralize-esm": "^9.0.2",
"polished": "^4.2.2",
"pretty-ms": "^7.0.1",
"raf": "^3.4.1",
"react-copy-to-clipboard": "^5.0.4",
"react-fast-compare": "^3.2.0",
"react-focus-lock": "^2.8.1",
"react-i18next": "^13.0.1",
"react-is": "^18.2.0",
"react-refractor": "^2.1.6",
"react-rx": "^2.1.3",
"read-pkg-up": "^7.0.1",
"refractor": "^3.6.0",
"resolve-from": "^5.0.0",
"rimraf": "^3.0.2",
"rxjs": "^7.8.0",
"rxjs-etc": "^10.6.0",
"rxjs-exhaustmap-with-trailing": "^2.1.1",
"sanity-diff-patch": "^3.0.2",
"scroll-into-view-if-needed": "^3.0.3",
"semver": "^7.3.5",
"shallow-equals": "^1.0.0",
"speakingurl": "^14.0.1",
"tar-fs": "^2.1.1",
"tar-stream": "^3.1.7",
"use-device-pixel-ratio": "^1.1.0",
"use-hot-module-reload": "^1.0.1",
"use-sync-external-store": "^1.2.0",
"vite": "^4.5.1",
"yargs": "^17.3.0"
},
"devDependencies": {
"@jest/expect": "^29.7.0",
"@jest/globals": "^29.7.0",
"@playwright/experimental-ct-react": "^1.41.2",
"@playwright/test": "^1.41.2",
"@sanity/tsdoc": "1.0.0-alpha.44",
"@sanity/ui-workshop": "^1.2.11",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.0.16",
"@types/archiver": "^6.0.2",
"@types/arrify": "^1.0.4",
"@types/configstore": "^5.0.1",
"@types/connect-history-api-fallback": "^1.5.2",
"@types/debug": "^4.1.12",
"@types/lodash": "^4.14.149",
"@types/log-symbols": "^2.0.0",
"@types/node": "^18.19.8",
"@types/raf": "^3.4.0",
"@types/react-dom": "^18.2.15",
"@types/refractor": "^3.0.0",
"@types/resolve-from": "^4.0.0",
"@types/rimraf": "^3.0.2",
"@types/semver": "^6.2.3",
"@types/tar-fs": "^2.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"styled-components": "^6.1.8"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18",
"styled-components": "^5.2 || ^6"
},
"engines": {
"node": ">=18"
},
"gitHead": "bb7c55d20562e3b14ce3e37fc576a67a02b3884d"
}