UNPKG

@blocknote/shadcn

Version:

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

104 lines 2.75 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.45.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": { "@blocknote/core": "0.45.0", "@blocknote/react": "0.45.0", "@radix-ui/react-avatar": "^1.1.10", "@radix-ui/react-dropdown-menu": "^2.1.16", "@radix-ui/react-label": "^2.1.7", "@radix-ui/react-popover": "^1.1.15", "@radix-ui/react-select": "^2.2.6", "@radix-ui/react-slot": "^1.2.3", "@radix-ui/react-tabs": "^1.1.13", "@radix-ui/react-toggle": "^1.1.10", "@radix-ui/react-tooltip": "^1.2.8", "autoprefixer": "^10.4.21", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "lucide-react": "^0.525.0", "react-hook-form": "^7.65.0", "tailwind-merge": "^2.6.0", "zod": "^3.25.76" }, "devDependencies": { "@radix-ui/colors": "^3.0.0", "@types/node": "^20.19.22", "@types/react": "^19.2.2", "@types/react-dom": "^19.2.2", "@vitejs/plugin-react": "^4.7.0", "eslint": "^8.57.1", "react": "^19.2.1", "react-dom": "^19.2.1", "rimraf": "^5.0.10", "rollup-plugin-webpack-stats": "^0.2.6", "typescript": "^5.9.3", "vite": "^5.4.20", "vite-plugin-eslint": "^1.8.1", "vite-plugin-externalize-deps": "^0.8.0" }, "peerDependencies": { "react": "^18.0 || ^19.0 || >= 19.0.0-rc", "react-dom": "^18.0 || ^19.0 || >= 19.0.0-rc", "tailwindcss": "^4.1.12" }, "eslintConfig": { "extends": [ "../../.eslintrc.json" ] }, "scripts": { "dev": "vite", "build": "tsc && vite build", "preview": "vite preview", "lint": "eslint src --max-warnings 0", "clean": "rimraf dist && rimraf types" } }