@sanity/types
Version:
Type definitions for common Sanity data structures
69 lines • 1.75 kB
JSON
{
"name": "@sanity/types",
"version": "4.10.1",
"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"
],
"dependencies": {
"@sanity/client": "^7.11.2",
"@sanity/media-library-types": "^1.0.1"
},
"devDependencies": {
"@sanity/insert-menu": "2.0.2",
"@types/react": "^19.1.9",
"@vitejs/plugin-react": "^4.6.0",
"react": "^19.1.1",
"rimraf": "^5.0.10",
"vitest": "^3.2.4",
"@repo/eslint-config": "4.10.1",
"@repo/package.config": "4.10.1",
"@repo/test-config": "4.10.1"
},
"peerDependencies": {
"@types/react": "18 || 19"
},
"scripts": {
"build": "pkg-utils build --strict --check --clean",
"check:types": "(cd ../../.. && tsc --project packages/@sanity/types/tsconfig.lib.json --erasableSyntaxOnly)",
"clean": "rimraf lib",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest watch",
"watch": "pkg-utils watch"
}
}