@hzg0304/clinical-template-editor
Version:
一个基于 React 和 TipTap 构建的临床模板编辑器组件,专为医疗行业设计
126 lines (125 loc) • 3.67 kB
JSON
{
"name": "@hzg0304/clinical-template-editor",
"version": "2.5.0",
"description": "一个基于 React 和 TipTap 构建的临床模板编辑器组件,专为医疗行业设计",
"author": "hzg0304",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"keywords": [
"react",
"editor",
"clinical",
"medical",
"template",
"tiptap",
"rich-text",
"healthcare",
"hospital",
"typescript"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hzg0304/clinical-template-editor.git"
},
"homepage": "https://github.com/hzg0304/clinical-template-editor#readme",
"bugs": {
"url": "https://github.com/hzg0304/clinical-template-editor/issues"
},
"scripts": {
"start": "react-scripts start",
"start:test": "cross-env REACT_APP_TEST=true react-scripts start",
"build": "rollup -c",
"build:free": "cross-env EDITION=free rollup -c",
"build:pro": "cross-env EDITION=pro rollup -c",
"dev": "rollup -c -w",
"prepublishOnly": "npm run build",
"type-check": "tsc --noEmit",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src/**/*.{ts,tsx}",
"prepare": "npm run build"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-typescript": "^12.1.3",
"@tailwindcss/postcss": "^4.1.10",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/katex": "^0.16.7",
"@types/node": "^24.0.3",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.5.2",
"autoprefixer": "^10.4.21",
"cross-env": "^7.0.3",
"dotenv": "^17.2.0",
"postcss": "^8.5.6",
"react-scripts": "5.0.1",
"rollup": "^4.44.0",
"rollup-plugin-dts": "^6.2.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"tailwindcss": "^3.4.17",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vite": "^6.3.5",
"web-vitals": "^5.0.3"
},
"peerDependencies": {
"@tiptap/react": "^2.22.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"dependencies": {
"@tiptap/core": "^2.22.0",
"@tiptap/extension-bullet-list": "^2.22.0",
"@tiptap/extension-color": "^2.22.0",
"@tiptap/extension-highlight": "^2.22.0",
"@tiptap/extension-list-item": "^2.22.0",
"@tiptap/extension-ordered-list": "^2.22.0",
"@tiptap/extension-table": "^2.22.0",
"@tiptap/extension-table-cell": "^2.22.0",
"@tiptap/extension-table-header": "^2.22.0",
"@tiptap/extension-table-row": "^2.22.0",
"@tiptap/extension-text-align": "^2.22.0",
"@tiptap/extension-underline": "^2.22.0",
"@tiptap/react": "^2.22.0",
"@tiptap/starter-kit": "^2.22.0",
"dayjs": "^1.11.13",
"katex": "^0.16.22",
"lucide-react": "^0.518.0"
}
}