@sanity/code-input
Version:
Sanity input component for code, powered by CodeMirror
83 lines • 2.29 kB
JSON
{
"name": "@sanity/code-input",
"version": "7.0.2",
"description": "Sanity input component for code, powered by CodeMirror",
"keywords": [
"cms",
"code-editor",
"code-input",
"content",
"headless",
"realtime",
"sanity",
"sanity-plugin"
],
"homepage": "https://github.com/sanity-io/plugins/tree/main/plugins/@sanity/code-input#readme",
"bugs": {
"url": "https://github.com/sanity-io/plugins/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/sanity-io/plugins.git",
"directory": "plugins/@sanity/code-input"
},
"author": "Sanity.io <hello@sanity.io>",
"license": "MIT",
"type": "module",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"types": "./dist/index.d.ts",
"files": [
"assets",
"dist"
],
"dependencies": {
"@codemirror/autocomplete": "^6.20.0",
"@codemirror/commands": "^6.10.0",
"@codemirror/lang-html": "^6.4.11",
"@codemirror/lang-java": "^6.0.2",
"@codemirror/lang-javascript": "^6.2.4",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/lang-php": "^6.0.2",
"@codemirror/lang-sql": "^6.10.0",
"@codemirror/language": "^6.11.3",
"@codemirror/legacy-modes": "^6.5.2",
"@codemirror/search": "^6.5.11",
"@codemirror/state": "^6.5.2",
"@codemirror/view": "^6.39.4",
"@juggle/resize-observer": "^3.4.0",
"@lezer/highlight": "^1.2.3",
"@sanity/icons": "^3.7.4",
"@sanity/ui": "^3.1.11",
"@uiw/codemirror-themes": "^4.25.4",
"@uiw/react-codemirror": "^4.25.4"
},
"devDependencies": {
"@sanity/pkg-utils": "^10.2.1",
"@types/react": "^19.2.7",
"babel-plugin-react-compiler": "^1.0.0",
"babel-plugin-styled-components": "^2.1.4",
"eslint": "^9.39.2",
"react": "^19.2.3",
"sanity": "^5.0.1",
"styled-components": "^6.1.19",
"@repo/eslint-config": "0.0.7",
"@repo/package.config": "0.0.1",
"@repo/tsconfig": "1.0.0"
},
"peerDependencies": {
"react": "^19.2",
"sanity": "^5",
"styled-components": "^6.1"
},
"engines": {
"node": ">=20.19 <22 || >=22.12"
},
"scripts": {
"build": "pkg build --strict --check --clean",
"lint": "eslint ."
}
}