@sanity/types
Version:
Type definitions for common Sanity data structures
70 lines • 1.79 kB
JSON
{
"name": "@sanity/types",
"version": "5.1.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": "module",
"exports": {
".": {
"source": "./src/index.ts",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib"
],
"dependencies": {
"@sanity/client": "^7.13.2",
"@sanity/media-library-types": "^1.0.2"
},
"devDependencies": {
"@sanity/insert-menu": "3.0.2",
"@sanity/pkg-utils": "^10.2.1",
"@types/react": "^19.2.7",
"@typescript/native-preview": "7.0.0-dev.20251128.1",
"@vitejs/plugin-react": "^5.1.1",
"eslint": "^9.39.2",
"react": "^19.2.3",
"rimraf": "^5.0.10",
"vitest": "^3.2.4",
"@repo/eslint-config": "5.1.0",
"@repo/test-config": "5.1.0",
"@repo/package.config": "5.1.0",
"@repo/tsconfig": "5.1.0"
},
"peerDependencies": {
"@types/react": "^19.2"
},
"scripts": {
"build": "pkg-utils build --strict --check --clean",
"check:types": "(cd ../../.. && tsgo --project packages/@sanity/types/tsconfig.lib.json --erasableSyntaxOnly)",
"clean": "rimraf lib",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest watch",
"watch": "pkg-utils watch"
}
}