UNPKG

@sanity/schema

Version:
80 lines 1.98 kB
{ "name": "@sanity/schema", "version": "6.4.0", "description": "", "keywords": [ "cms", "content", "headless", "realtime", "sanity", "schema" ], "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/schema" }, "files": [ "lib" ], "type": "module", "sideEffects": false, "main": "./lib/index.js", "types": "./lib/index.d.ts", "typesVersions": { "*": { "_internal": [ "./lib/_internal.d.ts" ] } }, "exports": { ".": "./lib/index.js", "./_internal": "./lib/_internal.js", "./package.json": "./package.json" }, "dependencies": { "@sanity/descriptors": "^1.3.0", "@sanity/generate-help-url": "^4.0.0", "arrify": "^3.0.0", "groq-js": "^1.30.3", "humanize-list": "^1.0.1", "leven": "^4.1.0", "lodash-es": "^4.18.1", "object-inspect": "^1.13.4", "@sanity/types": "6.4.0" }, "devDependencies": { "@sanity/icons": "^5.0.0", "@sanity/pkg-utils": "^10.9.0", "@types/lodash-es": "^4.17.12", "@types/object-inspect": "^1.13.0", "@types/react": "^19.2.17", "@typescript/native-preview": "beta", "rimraf": "^6.1.3", "vite": "^8.1.0", "vitest": "^4.1.9", "@repo/package.config": "6.4.0", "@repo/test-config": "6.4.0", "@repo/tsconfig": "6.4.0" }, "browserslist": [ "node >=22.12", "baseline 2024" ], "scripts": { "build": "pnpm clean && pkg-utils build --strict --check --clean", "check:types": "(cd ../../.. && tsgo --project packages/@sanity/schema/tsconfig.lib.json --erasableSyntaxOnly)", "clean": "rimraf _internal.js lib", "test": "vitest run", "test:watch": "vitest watch", "watch": "pkg-utils watch" } }