UNPKG

@blocknote/shadcn

Version:

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

84 lines 2.11 kB
{ "name": "@blocknote/shadcn", "homepage": "https://github.com/TypeCellOS/BlockNote", "private": false, "sideEffects": [ "*.css" ], "repository": { "type": "git", "url": "git+https://github.com/TypeCellOS/BlockNote.git", "directory": "packages/shadcn" }, "license": "MPL-2.0", "version": "0.55.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.tsx", "types": "./types/src/index.d.ts", "main": "./dist/blocknote-shadcn.cjs", "module": "./dist/blocknote-shadcn.js", "exports": { ".": { "types": "./types/src/index.d.ts", "import": "./dist/blocknote-shadcn.js", "require": "./dist/blocknote-shadcn.cjs" }, "./style.css": { "import": "./dist/style.css", "require": "./dist/style.css", "style": "./dist/style.css" } }, "dependencies": { "@base-ui/react": "^1.6.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "lucide-react": "^0.525.0", "tailwind-merge": "^2.6.0", "@blocknote/core": "^0.55.0", "@blocknote/react": "^0.55.0" }, "devDependencies": { "@types/node": "^20.19.22", "@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" }, "peerDependencies": { "react": "^18.0 || ^19.0 || >= 19.0.0-rc", "react-dom": "^18.0 || ^19.0 || >= 19.0.0-rc", "tailwindcss": "^4.1.12" }, "scripts": { "dev": "vp dev", "preview": "vp preview", "lint": "vp lint src", "clean": "rimraf dist && rimraf types" } }