1 Star 7 Fork 0

uiw / react-markdown-preview

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 2.68 KB
一键复制 编辑 原始数据 按行查看 历史
小弟调调 提交于 2021-06-26 00:50 . released v3.1.3
{
"name": "@uiw/react-markdown-preview",
"version": "3.1.3",
"description": "React component preview markdown text in web browser. The minimal amount of CSS to replicate the GitHub Markdown style.",
"homepage": "https://uiwjs.github.io/react-markdown-preview",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"scripts": {
"prepare": "npm run build:lib",
"doc": "kkt build --app-src ./website",
"start": "kkt start --app-src ./website",
"build": "npm run build:lib && npm run doc",
"build:lib": "npm run ts:build && npm run types:esm && npm run types:cjs && npm run css:build && npm run css:build:dist",
"watch": "npm run ts:watch & npm run types:watch & npm run css:watch",
"types:build": "tsbb types --sourceRoot src --target ESNEXT",
"types:watch": "npm run types:esm -- --watch & npm run types:cjs -- --watch",
"types:esm": "npm run types:build -- --outDir ../lib/esm",
"types:cjs": "npm run types:build -- --outDir ../lib/cjs",
"css:build": "compile-less -d src -o lib/esm",
"css:watch": "compile-less -d src -o lib/esm --watch",
"css:build:dist": "compile-less -d src --combine dist/markdown.css --rm-global",
"ts:watch": "tsbb watch --env-name esm:dev --env-name cjs --target react",
"ts:build": "tsbb build --target react"
},
"repository": {
"type": "git",
"url": "https://github.com/uiwjs/react-markdown-preview.git"
},
"author": "kenny wang <wowohoo@qq.com>",
"license": "MIT",
"files": [
"lib",
"dist",
"src"
],
"keywords": [
"react",
"markdown",
"prismjs",
"react-markdown"
],
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"@babel/runtime": "7.13.10",
"@mapbox/rehype-prism": "0.6.0",
"rehype-raw": "5.1.0",
"remark-gfm": "1.0.0",
"remark-slug": "6.0.0",
"remark-autolink-headings": "6.0.1",
"rehype-rewrite": "1.0.2",
"react-markdown": "6.0.2"
},
"devDependencies": {
"@kkt/less-modules": "6.10.4",
"@kkt/raw-modules": "6.10.4",
"@kkt/scope-plugin-options": "6.10.4",
"@types/react": "17.0.11",
"@types/react-dom": "17.0.8",
"@uiw/react-codesandbox": "1.1.0",
"@uiw/react-github-corners": "1.4.0",
"@uiw/react-shields": "1.1.1",
"@uiw/reset.css": "1.0.4",
"compile-less-cli": "1.8.0",
"kkt": "6.10.4",
"react": "17.0.2",
"react-dom": "17.0.2",
"tsbb": "2.2.1"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
1
https://gitee.com/uiw/react-markdown-preview.git
git@gitee.com:uiw/react-markdown-preview.git
uiw
react-markdown-preview
react-markdown-preview
master

搜索帮助