UNPKG

@blocknote/react

Version:

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

94 lines (93 loc) 2.35 kB
{ "name": "@blocknote/react", "homepage": "https://github.com/TypeCellOS/BlockNote", "private": false, "sideEffects": [ "*.css" ], "license": "MPL-2.0", "version": "0.23.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.umd.cjs", "module": "./dist/blocknote-react.js", "exports": { ".": { "types": "./types/src/index.d.ts", "import": "./dist/blocknote-react.js", "require": "./dist/blocknote-react.umd.cjs" }, "./style.css": { "import": "./dist/style.css", "require": "./dist/style.css" } }, "scripts": { "dev": "vite", "build": "tsc && vite build", "preview": "vite preview", "lint": "eslint src --max-warnings 0", "test": "vitest --run", "test:watch": "vitest --watch", "clean": "rimraf dist && rimraf types" }, "dependencies": { "@blocknote/core": "^0.23.0", "@floating-ui/react": "^0.26.4", "@tiptap/core": "^2.7.1", "@tiptap/react": "^2.7.1", "lodash.merge": "^4.6.2", "react-icons": "^5.2.1" }, "devDependencies": { "@types/lodash.foreach": "^4.5.9", "@types/lodash.groupby": "^4.6.9", "@types/lodash.merge": "^4.6.9", "@types/react": "^18.0.25", "@types/react-dom": "^18.0.9", "@vitejs/plugin-react": "^4.3.1", "eslint": "^8.10.0", "prettier": "^2.7.1", "rimraf": "^5.0.5", "rollup-plugin-webpack-stats": "^0.2.2", "typescript": "^5.3.3", "vite": "^5.3.4", "vite-plugin-eslint": "^1.8.1", "vite-plugin-externalize-deps": "^0.8.0", "vitest": "^2.0.3" }, "peerDependencies": { "react": "^18.0 || ^19.0 || >= 19.0.0-rc", "react-dom": "^18.0 || ^19.0 || >= 19.0.0-rc" }, "eslintConfig": { "extends": [ "../../.eslintrc.js" ] }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "gitHead": "147072ca94ec5e9de732a4190c440ae8ae8b2b64" }