UNPKG

@bettaibi/react-blocknote

Version:

A modern, versatile rich text editor component for React applications with an elegant UI and Notion-like functionality. Supports both React 18 and React 19.

132 lines (131 loc) 3.8 kB
{ "name": "@bettaibi/react-blocknote", "version": "0.2.0", "type": "module", "files": [ "dist" ], "types": "./dist/index.d.ts", "main": "./dist/index.umd.js", "module": "./dist/index.es.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.es.js", "require": "./dist/index.umd.js" }, "./atomic": { "types": "./dist/atomic.d.ts", "import": "./dist/atomic.es.js", "require": "./dist/atomic.umd.js" }, "./styles.css": "./dist/style.css" }, "repository": { "type": "git", "url": "https://github.com/bettaibi/react-blocknote" }, "homepage": "https://github.com/bettaibi/react-blocknote", "bugs": { "url": "https://github.com/bettaibi/react-blocknote/issues" }, "scripts": { "dev": "vite", "build": "vite build && tsc --emitDeclarationOnly", "postbuild": "node ./purge-css.js", "prepare": "npm run build", "preview": "vite preview", "optimize-css": "node ./purge-css.js", "analyze": "vite build --mode analyze" }, "peerDependencies": { "@radix-ui/react-dropdown-menu": "2.1.12", "@radix-ui/react-popover": "1.1.11", "katex": "0.16.22", "react": "^19.0.0", "react-dom": "^19.0.0" }, "keywords": [ "react", "blocknote", "editor", "notion", "react blocknote", "react-blocknote", "react-notion", "react editor", "md editor", "typescript", "markdown editor", "markdown", "rich text editor", "tiptap", "wysiwyg", "katex", "math" ], "author": "Nidhal Bettaibi", "license": "MIT", "description": "A modern, versatile rich text editor component for React applications with an elegant UI and Notion-like functionality. Supports both React 18 and React 19.", "dependencies": { "@tiptap/extension-code-block-lowlight": "2.11.9", "@tiptap/extension-color": "2.11.7", "@tiptap/extension-highlight": "2.11.7", "@tiptap/extension-image": "2.11.7", "@tiptap/extension-link": "2.11.7", "@tiptap/extension-placeholder": "2.11.7", "@tiptap/extension-subscript": "2.11.7", "@tiptap/extension-superscript": "2.11.7", "@tiptap/extension-table": "2.11.7", "@tiptap/extension-table-cell": "2.11.7", "@tiptap/extension-table-header": "2.11.7", "@tiptap/extension-table-row": "2.11.7", "@tiptap/extension-task-item": "2.11.7", "@tiptap/extension-task-list": "2.11.7", "@tiptap/extension-text-align": "2.11.7", "@tiptap/extension-text-style": "2.11.7", "@tiptap/extension-typography": "2.11.7", "@tiptap/extension-underline": "2.11.7", "@tiptap/pm": "2.11.7", "@tiptap/react": "2.11.7", "@tiptap/starter-kit": "2.11.7", "@types/markdown-it": "14.1.2", "highlight.js": "11.11.1", "lowlight": "3.3.0", "lucide-react": "0.503.0", "markdown-it": "14.1.0", "rehype-katex": "7.0.0", "rehype-stringify": "10.0.0", "remark-math": "6.0.0", "remark-parse": "11.0.0", "remark-rehype": "11.1.0", "turndown": "^7.2.0", "turndown-plugin-gfm": "^1.0.2", "unified": "11.0.4" }, "devDependencies": { "@rollup/plugin-terser": "^0.4.4", "@types/highlight.js": "9.12.4", "@types/node": "^22.15.3", "@types/react": "^18.0.0 || ^19.0.0", "@types/react-dom": "^18.0.0 || ^19.0.0", "@types/turndown": "^5.0.5", "@vitejs/plugin-react": "4.4.1", "autoprefixer": "^10.4.21", "cssnano": "^7.0.6", "lightningcss": "^1.29.3", "postcss": "^8.5.3", "postcss-cli": "^11.0.1", "purgecss": "^7.0.2", "rollup-plugin-visualizer": "^5.14.0", "typescript": "5.3.3", "vite": "6.3.3" }, "engines": { "node": ">=18.0.0" }, "engineStrict": true, "publishConfig": { "access": "public" } }