Files
LCUI/examples/doc-viewer/package.json
T
CopilotandLiu 437d93d34e docs: add native doc-viewer and widget documentation (#324)
- Add examples/doc-viewer, an LCUI-based documentation viewer with an
  MDX compiler pipeline that converts source MDX files into C/TSX
  page components rendered by lcui build.
- Add zh-CN and en documentation for 5 widgets (anchor, button,
  scrollarea, text, text-input), each with C/TSX/XML example variants
  and widget-fields data.
- Add handbook and overview documentation.

Co-authored-by: Liu <lc-soft@live.cn>
2026-08-05 22:42:19 +08:00

28 lines
655 B
JSON

{
"name": "doc-viewer",
"version": "0.1.0",
"private": true,
"scripts": {
"compile": "bun run scripts/compiler/index.ts",
"compile:watch": "bun run scripts/compiler/index.ts --watch"
},
"devDependencies": {
"@lcui/fluent-icons": "^2.0.0",
"@lcui/react": "0.6.0",
"@thedutchcoder/postcss-rem-to-px": "^0.0.2",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"highlight.js": "^11.9.0",
"postcss": "^8.5.10",
"tailwindcss": "3.4.17",
"typescript": "^5.5.2"
},
"engines": {
"bun": ">=1.0.0"
},
"dependencies": {
"mdast-util-from-markdown": "^2.0.3",
"micromark": "^4.0.2"
}
}