UNPKG

markdown-editor-preview

Version:

基于Vue3和TypeScript的Markdown预览编辑器,支持双向滚动同步、代码高亮和自定义渲染器,提供流畅的编辑和预览体验

76 lines (75 loc) 2.25 kB
{ "name": "markdown-editor-preview", "version": "0.0.7", "description": "基于Vue3和TypeScript的Markdown预览编辑器,支持双向滚动同步、代码高亮和自定义渲染器,提供流畅的编辑和预览体验", "keywords": [ "markdown", "editor", "vue", "markdown-preview" ], "author": "Steve245270533", "type": "module", "license": "MIT", "exports": { ".": { "types": "./lib/index.d.ts", "import": "./lib/markdown-editor-preview.js" }, "./style.css": "./lib/markdown-editor-preview.css" }, "main": "./lib/markdown-editor-preview.js", "module": "./lib/markdown-editor-preview.js", "types": "./lib/index.d.ts", "files": [ "lib" ], "repository": { "type": "git", "url": "git+https://github.com/Steve245270533/markdown-editor-preview.git" }, "scripts": { "dev": "vite", "preview": "vite preview", "build-only": "vite build", "build:page": "run-p type-check \"build-only {@}\" --", "build:pkg": "vue-tsc --build && vite build --mode lib", "type-check": "vue-tsc --build", "lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore", "lint:eslint": "eslint . --fix", "lint": "run-s lint:*" }, "dependencies": { "@vueuse/core": "^13.0.0", "bootstrap-icons": "^1.11.3", "highlight.js": "^11.11.1", "markdown-it": "^14.1.0", "markdown-it-anchor": "^9.2.0", "markdown-it-footnote": "^4.0.0", "markdown-it-toc-done-right": "^4.2.0", "monaco-editor": "^0.52.2", "vue": "^3.5.13" }, "devDependencies": { "@stylistic/eslint-plugin-js": "^4.2.0", "@stylistic/eslint-plugin-ts": "^4.2.0", "@tsconfig/node22": "^22.0.1", "@types/markdown-it": "^14.1.2", "@types/node": "^22.14.0", "@vitejs/plugin-vue": "^5.2.3", "@vue/eslint-config-typescript": "^14.5.0", "@vue/tsconfig": "^0.7.0", "eslint": "^9.22.0", "eslint-plugin-oxlint": "^0.16.0", "eslint-plugin-vue": "~10.0.0", "jiti": "^2.4.2", "npm-run-all2": "^7.0.2", "oxlint": "^0.16.0", "sass": "^1.86.3", "typescript": "~5.8.0", "vite": "^6.2.4", "vite-plugin-dts": "^4.5.3", "vite-plugin-vue-devtools": "^7.7.2", "vue-tsc": "^2.2.8" } }