mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
- 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>
28 lines
655 B
JSON
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"
|
|
}
|
|
}
|