@blocknote/react
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
98 lines (97 loc) • 2.61 kB
JSON
{
"name": "@blocknote/react",
"homepage": "https://github.com/TypeCellOS/BlockNote",
"private": false,
"license": "MPL-2.0",
"version": "0.12.4",
"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",
"build-bundled": "tsc && vite build --config vite.config.bundled.ts && git checkout tmp-releases && rm -rf ../../release && mv ../../release-tmp ../../release",
"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.12.4",
"@floating-ui/react": "^0.26.4",
"@mantine/core": "^7.7.1",
"@mantine/hooks": "^7.7.1",
"@mantine/utils": "^6.0.21",
"@tiptap/core": "^2.0.3",
"@tiptap/react": "^2.0.3",
"lodash.merge": "^4.6.2",
"react": "^18",
"react-dom": "^18.2.0",
"react-icons": "^4.3.1",
"use-prefers-color-scheme": "^1.1.3"
},
"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.0.4",
"eslint": "^8.10.0",
"prettier": "^2.7.1",
"rimraf": "^5.0.5",
"rollup-plugin-webpack-stats": "^0.2.2",
"typescript": "^5.3.3",
"vite": "^4.4.8",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-externalize-deps": "^0.7.0",
"vitest": "^0.34.1"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
},
"eslintConfig": {
"extends": [
"../../.eslintrc.js"
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"gitHead": "54716a4b6d83f46e0d318dc39cd313d35fc8909e"
}