UNPKG

@sanity/types

Version:

Type definitions for common Sanity data structures

70 lines (69 loc) 1.7 kB
{ "name": "@sanity/types", "version": "3.92.0", "description": "Type definitions for common Sanity data structures", "keywords": [ "sanity", "cms", "headless", "realtime", "content", "types", "typescript" ], "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/types" }, "license": "MIT", "author": "Sanity.io <hello@sanity.io>", "sideEffects": false, "type": "commonjs", "exports": { ".": { "source": "./src/index.ts", "import": "./lib/index.mjs", "require": "./lib/index.js", "default": "./lib/index.js" }, "./package.json": "./package.json" }, "main": "./lib/index.js", "module": "./lib/index.mjs", "types": "./lib/index.d.ts", "files": [ "lib", "src" ], "scripts": { "build": "pkg-utils build --strict --check --clean", "check:types": "tsc --project tsconfig.lib.json", "clean": "rimraf lib", "prepublishOnly": "turbo run build", "test": "vitest run", "test:watch": "vitest watch", "watch": "pkg-utils watch" }, "dependencies": { "@sanity/client": "^7.5.0" }, "devDependencies": { "@repo/package.config": "3.92.0", "@repo/test-config": "3.92.0", "@sanity/insert-menu": "1.1.12", "@types/react": "^19.1.0", "@vitejs/plugin-react": "^4.5.1", "react": "^18.3.1", "rimraf": "^5.0.10", "vitest": "^3.2.2" }, "peerDependencies": { "@types/react": "18 || 19" }, "gitHead": "eb72cd37f48adaa4ab7fd69245edf91838992eaa" }