Files
Docs-Viewer/package.json
litruv 10e9f7ac2f Port Docs-Viewer to slatehtml as the docs-viewer package.
Replace the classic DOM shell with slate widgets, markdown→slate rendering, and a CI index build that uses build-docs.cjs.
2026-08-02 20:48:31 +10:00

55 lines
1.2 KiB
JSON

{
"name": "docs-viewer",
"version": "2.0.0",
"description": "Static documentation viewer on slatehtml + slatehtml-ui",
"type": "module",
"main": "./src/index.js",
"module": "./src/index.js",
"exports": {
".": "./src/index.js",
"./prose.css": "./src/prose.css",
"./build-docs": "./build-docs.cjs",
"./package.json": "./package.json"
},
"files": [
"src",
"build-docs.cjs",
"README.md",
"LICENSE"
],
"sideEffects": [
"./src/index.js",
"./src/prose.css",
"**/*.umc",
"**/*.css",
"**/*.js"
],
"scripts": {
"dev": "vite",
"build": "node build-docs.cjs && vite build",
"build:index": "node build-docs.cjs",
"preview": "vite preview",
"start": "vite"
},
"dependencies": {
"highlight.js": "^11.11.1",
"marked": "^15.0.12",
"slatehtml": "file:../slatehtml",
"slatehtml-ui": "file:../slatehtml/packages/slatehtml-ui"
},
"devDependencies": {
"vite": "^6.3.5"
},
"keywords": [
"docs",
"markdown",
"documentation",
"slatehtml"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/litruv/Docs-Viewer.git"
}
}