rc-headless-ui
Version:
A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React
126 lines (125 loc) • 3.43 kB
JSON
{
"name": "rc-headless-ui",
"type": "module",
"version": "0.0.1",
"main": "./lib/rc-headless-ui.cjs",
"module": "./lib/rc-headless-ui.js",
"types": "./lib/index.d.ts",
"description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
"packageManager": "pnpm@9.11.0",
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/rc-headless-ui.js"
},
"require": {
"types": "./lib/index.d.cts",
"default": "./lib/rc-headless-ui.cjs"
}
},
"./style.css": {
"import": "./lib/style.css",
"require": "./lib/style.css"
}
},
"sideEffects": false,
"license": "MIT",
"files": [
"lib",
"package.json",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build:lib": "vite build",
"build:lib:dev": "vite build --mode development --watch",
"build:playground": "pnpm build:lib && pnpm --dir ./playground run build",
"docs:dev": "pnpm --parallel --filter docs... dev",
"docs:build": "pnpm --filter docs... build",
"docs:preview": "pnpm -C docs preview",
"prepublishOnly": "pnpm build:lib",
"playground": "pnpm --dir ./playground run dev",
"preview": "pnpm --dir ./playground run preview",
"lint": "eslint src --quiet",
"lint:fix": "eslint src --fix --quiet",
"type-check": "tsc",
"verify-commit": "verify-commit-msg",
"prepare": "git-scm-hooks",
"release": "bumpp -r",
"gen-changelog": "esno ./scripts/genExtensions.ts && esno ./scripts/changelog.ts"
},
"dependencies": {
"clsx": "^2.1.1",
"lodash-es": "^4.17.21",
"lucide-react": "^0.427.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.27.3",
"@eslint-react/eslint-plugin": "^1.14.3",
"@total-typescript/ts-reset": "^0.5.1",
"@types/deep-equal": "^1.0.4",
"@types/file-saver": "^2.0.7",
"@types/katex": "^0.16.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.7.4",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.2",
"bumpp": "^9.6.1",
"eslint": "^8.57.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.12",
"esno": "^4.8.0",
"execa": "^9.4.0",
"git-scm-hooks": "^0.0.11",
"globby": "^14.0.2",
"md5": "^2.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sass": "^1.79.4",
"typescript": "^5.6.2",
"verify-commit-msg": "^0.0.14",
"vite": "^5.4.8",
"vite-plugin-dts": "^4.2.3"
},
"browserslist": [
">0.3%",
"not ie 11",
"not dead",
"not op_mini all"
],
"git-hooks": {
"pre-commit": "npm run lint:fix",
"commit-msg": "npm run verify-commit"
},
"peerDependencies": {
"react": ">= 17.0.0",
"react-dom": ">= 17.0.0"
},
"keywords": [
"react",
"tiptap",
"editor",
"wysiwyg",
"rich-text",
"rc-headless-ui",
"tiptap-editor",
"tiptap-react",
"tiptap-react-editor",
"tiptap-react-wysiwyg",
"tiptap-react-rich-text",
"tiptap-react-rc-editor",
"tiptap-react-rc-wysiwyg",
"tiptap-react-rc-rich-text"
],
"homepage": "https://rc-headless-ui.vercel.app/",
"repository": {
"type": "git",
"url": "https://github.com/hunghg255/rc-headless-ui.git"
},
"bugs": "https://github.com/hunghg255/rc-headless-ui/issues"
}