UNPKG

md-editor-rt

Version:

Markdown editor for react, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...

125 lines (124 loc) 3.38 kB
{ "name": "md-editor-rt", "version": "6.3.1", "license": "MIT", "keywords": [ "react", "nextjs", "javascript", "typescript", "jsx", "tsx", "ssr", "markdown", "editor", "theme", "html" ], "description": "Markdown editor for react, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...", "author": { "name": "zbf", "url": "https://github.com/imzbf" }, "homepage": "https://imzbf.github.io/md-editor-rt/", "repository": { "type": "git", "url": "git+https://github.com/imzbf/md-editor-rt.git" }, "bugs": { "url": "https://github.com/imzbf/md-editor-rt/issues" }, "files": [ "lib" ], "type": "module", "types": "./lib/types/index.d.ts", "main": "./lib/cjs/index.cjs", "module": "./lib/es/index.mjs", "sideEffects": [ "**/*.css" ], "scripts": { "dev": "tsx ./scripts/dev", "build": "tsx ./scripts/build", "lint": "eslint --ext .ts,.tsx,.vue --fix packages", "lint-staged": "lint-staged", "prepare": "husky" }, "dependencies": { "@codemirror/autocomplete": "^6.18.7", "@codemirror/commands": "^6.8.1", "@codemirror/lang-markdown": "^6.3.4", "@codemirror/language": "^6.11.3", "@codemirror/language-data": "^6.5.1", "@codemirror/search": "^6.5.11", "@codemirror/state": "^6.5.2", "@codemirror/view": "^6.38.2", "@lezer/highlight": "^1.2.1", "@types/markdown-it": "^14.0.1", "@vavt/copy2clipboard": "^1.0.1", "@vavt/util": "^2.1.0", "codemirror": "^6.0.2", "lru-cache": "^11.2.1", "lucide-react": "^0.542.0", "markdown-it": "^14.0.0", "markdown-it-image-figures": "^2.1.1", "markdown-it-sub": "^2.0.0", "markdown-it-sup": "^2.0.0", "medium-zoom": "^1.1.0", "xss": "^1.0.15" }, "devDependencies": { "@eslint/js": "^9.35.0", "@types/katex": "^0.16.7", "@types/multiparty": "^4.2.1", "@types/node": "^24.3.1", "@types/react": "^19.1.12", "@types/react-dom": "^19.1.9", "@typescript-eslint/eslint-plugin": "^8.43.0", "@typescript-eslint/parser": "^8.43.0", "@vavt/markdown-theme": "^5.0.1", "@vavt/vite-plugin-import-markdown": "^1.0.1", "@vitejs/plugin-react": "^5.0.2", "axios": "^1.11.0", "cropperjs": "^1.6.2", "echarts": "^6.0.0", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.32.0", "eslint-plugin-prettier": "^5.5.4", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.13", "globals": "^16.3.0", "highlight.js": "^11.10.0", "husky": "^9.1.7", "katex": "^0.16.22", "less": "^4.4.1", "lint-staged": "^16.1.6", "mermaid": "^11.11.0", "multiparty": "^4.2.3", "prettier": "^3.6.2", "react": "^19.1.1", "react-dom": "^19.1.1", "screenfull": "^6.0.2", "tsc-alias": "^1.8.10", "tsx": "^4.20.5", "typescript": "^5.9.2", "typescript-eslint": "^8.43.0", "vite": "^7.1.5" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" }, "lint-staged": { "*.{ts,tsx}": [ "eslint --fix", "prettier --write" ], "*.{json,md}": [ "prettier --write" ] } }