UNPKG

@blocknote/react

Version:

A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.

93 lines 2.42 kB
{ "name": "@blocknote/react", "homepage": "https://github.com/TypeCellOS/BlockNote", "private": false, "sideEffects": [ "*.css" ], "repository": { "type": "git", "url": "git+https://github.com/TypeCellOS/BlockNote.git", "directory": "packages/react" }, "license": "MPL-2.0", "version": "0.54.0", "files": [ "dist", "types", "src" ], "keywords": [ "react", "javascript", "editor", "typescript", "prosemirror", "wysiwyg", "rich-text-editor", "notion", "yjs", "block-based", "tiptap" ], "description": "A \"Notion-style\" block-based extensible text editor built on top of Prosemirror and Tiptap.", "type": "module", "source": "src/index.ts", "types": "./types/src/index.d.ts", "main": "./dist/blocknote-react.cjs", "module": "./dist/blocknote-react.js", "exports": { ".": { "types": "./types/src/index.d.ts", "import": "./dist/blocknote-react.js", "require": "./dist/blocknote-react.cjs" }, "./style.css": { "import": "./dist/style.css", "require": "./dist/style.css", "style": "./dist/style.css" } }, "dependencies": { "@emoji-mart/data": "^1.2.1", "@floating-ui/react": "^0.27.18", "@tiptap/core": "^3.29.2", "@tiptap/pm": "^3.29.2", "@tiptap/react": "^3.29.2", "emoji-mart": "^5.6.0", "fast-deep-equal": "^3.1.3", "use-sync-external-store": "1.6.0", "@blocknote/core": "^0.54.0" }, "devDependencies": { "@types/lodash.foreach": "^4.5.9", "@types/lodash.groupby": "^4.6.9", "react-icons": "^5.5.0", "@types/react": "^19.2.3", "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^6.0.1", "react": "^19.2.5", "react-dom": "^19.2.5", "rimraf": "^5.0.10", "rollup-plugin-webpack-stats": "^0.2.6", "typescript": "^7.0.2", "vite-plugin-externalize-deps": "^0.10.0", "vite-plus": "^0.2.9" }, "optionalDependencies": { "@types/use-sync-external-store": "1.5.0" }, "peerDependencies": { "react": "^18.0 || ^19.0 || >= 19.0.0-rc", "react-dom": "^18.0 || ^19.0 || >= 19.0.0-rc" }, "gitHead": "d5e8c96e2ad5f6832da60bc3c9acd3f6c16c25c5", "scripts": { "dev": "vp dev", "preview": "vp preview", "lint": "vp lint src", "test": "vp test --run", "test:watch": "vp test --watch", "clean": "rimraf dist && rimraf types" } }