writr
Version:
Markdown Rendering Simplified
99 lines (98 loc) • 2.46 kB
JSON
{
"name": "writr",
"version": "4.4.2",
"description": "Markdown Rendering Simplified",
"type": "module",
"main": "./dist/writr.js",
"types": "./dist/writr.d.ts",
"exports": {
".": {
"import": "./dist/writr.js"
}
},
"repository": "https://github.com/jaredwray/writr.git",
"author": "Jared Wray <me@jaredwray.com>",
"engines": {
"node": ">=20"
},
"license": "MIT",
"keywords": [
"markdown",
"html",
"renderer",
"markdown-to-html",
"toc",
"table-of-contents",
"emoji",
"syntax-highlighting",
"markdown-processor",
"github-flavored-markdown",
"gfm",
"remark-plugin",
"rehype-plugin",
"markdown-editor",
"content-management",
"documentation-tool",
"blogging",
"markdown-extension",
"seo-friendly",
"markdown-anchors",
"remark",
"rehype",
"react",
"react-component",
"react-markdown",
"markdown-to-react"
],
"scripts": {
"clean": "rimraf ./dist ./coverage ./node_modules ./package-lock.json ./yarn.lock ./site/README.md ./site/dist",
"build": "rimraf ./dist && tsup src/writr.ts --format esm --dts --clean",
"prepare": "npm run build",
"test": "xo --fix && vitest run --coverage",
"website:build": "rimraf ./site/README.md ./site/dist && npx docula build -s ./site -o ./site/dist",
"website:serve": "rimraf ./site/README.md ./site/dist && npx docula serve -s ./site -o ./site/dist"
},
"dependencies": {
"cacheable": "^1.8.9",
"hookified": "^1.8.1",
"html-react-parser": "^5.2.2",
"js-yaml": "^4.1.0",
"react": "^19.1.0",
"rehype-highlight": "^7.0.2",
"rehype-katex": "^7.0.1",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.1",
"remark-emoji": "^5.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"remark-mdx": "^3.1.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"remark-toc": "^9.0.0",
"unified": "^11.0.5"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.13.14",
"@types/react": "^19.0.12",
"@vitest/coverage-v8": "^3.0.9",
"docula": "^0.11.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsup": "^8.4.0",
"typescript": "^5.8.2",
"vitest": "^3.0.9",
"webpack": "^5.98.0",
"xo": "^0.60.0"
},
"xo": {
"ignores": [
"docula.config.*"
]
},
"files": [
"dist",
"README.md",
"LICENSE"
]
}