UNPKG

slate-react

Version:

Tools for building completely customizable richtext editors with React.

87 lines (86 loc) • 2.01 kB
{ "name": "slate-react", "description": "Tools for building completely customizable richtext editors with React.", "version": "0.147.6", "license": "MIT", "repository": "git://github.com/ianstormtaylor/slate.git", "main": "dist/index.js", "module": "dist/index.es.js", "types": "dist/index.d.ts", "umd": "dist/slate-react.js", "umdMin": "dist/slate-react.min.js", "sideEffects": false, "files": [ "dist/" ], "dependencies": { "@juggle/resize-observer": "^3.4.0", "direction": "^1.0.4", "is-hotkey": "^0.2.0", "lodash": "^4.17.21", "scroll-into-view-if-needed": "^3.1.0", "tiny-invariant": "1.3.1" }, "devDependencies": { "@babel/runtime": "^7.23.2", "@testing-library/dom": "10.4.1", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "16.3.0", "@types/is-hotkey": "^0.1.8", "@types/jest": "29.5.6", "@types/jsdom": "^21.1.4", "@types/lodash": "^4.14.200", "@types/react": "19.2.18", "@types/react-dom": "19.2.7", "@types/resize-observer-browser": "^0.1.8", "react": "19.2.8", "react-dom": "19.2.8", "slate": "^0.147.4", "slate-dom": "^0.147.3", "slate-history": "^0.144.0", "slate-hyperscript": "^0.138.3", "source-map-loader": "^4.0.1" }, "peerDependencies": { "@types/lodash": "^4.14.0", "@types/react": ">=18.0.0", "react": ">=18.2.0", "react-dom": ">=18.2.0", "slate": ">=0.121.0", "slate-dom": ">=0.141.0" }, "peerDependenciesMeta": { "@types/lodash": { "optional": true }, "@types/react": { "optional": true } }, "umdGlobals": { "react": "React", "slate": "Slate" }, "keywords": [ "canvas", "contenteditable", "docs", "document", "edit", "editor", "editable", "html", "immutable", "markdown", "medium", "paper", "react", "rich", "richtext", "richtext", "slate", "text", "wysiwyg", "wysiwym" ] }