UNPKG

@blocknote/shadcn

Version:

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

107 lines 2.84 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.35.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.35.0", "@blocknote/react": "0.35.0", "@hookform/resolvers": "^3.6.0", "@radix-ui/react-avatar": "^1.1.3", "@radix-ui/react-dropdown-menu": "^2.0.6", "@radix-ui/react-label": "^2.0.2", "@radix-ui/react-popover": "^1.0.7", "@radix-ui/react-select": "^2.0.0", "@radix-ui/react-slot": "^1.0.2", "@radix-ui/react-tabs": "^1.0.4", "@radix-ui/react-toggle": "^1.0.3", "@radix-ui/react-tooltip": "^1.0.7", "autoprefixer": "^10.4.19", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "lucide-react": "^0.525.0", "postcss": "^8.4.38", "react-hook-form": "^7.52.0", "tailwind-merge": "^2.3.0", "tailwindcss": "^3.4.3", "tailwindcss-animate": "^1.0.7", "zod": "^3.23.8" }, "devDependencies": { "@radix-ui/colors": "^3.0.0", "@types/node": "^20.12.7", "@types/react": "^19.1.0", "@types/react-dom": "^19.1.0", "@vitejs/plugin-react": "^4.3.1", "eslint": "^8.10.0", "react": "^19.1.0", "react-dom": "^19.1.0", "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" }, "peerDependencies": { "react": "^18.0 || ^19.0 || >= 19.0.0-rc", "react-dom": "^18.0 || ^19.0 || >= 19.0.0-rc" }, "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" } }