mirror of
https://github.com/litruv/Docs-Viewer.git
synced 2026-09-10 10:09:46 +10:00
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.
This commit is contained in:
52
package.json
52
package.json
@@ -1,12 +1,54 @@
|
||||
{
|
||||
"name": "docs-viewer",
|
||||
"version": "1.0.0",
|
||||
"description": "Documentation viewer application",
|
||||
"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": {
|
||||
"start": "live-server --port=8080 --no-browser",
|
||||
"build": "node build-docs.js"
|
||||
"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": {
|
||||
"live-server": "^1.2.2"
|
||||
"vite": "^6.3.5"
|
||||
},
|
||||
"keywords": [
|
||||
"docs",
|
||||
"markdown",
|
||||
"documentation",
|
||||
"slatehtml"
|
||||
],
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/litruv/Docs-Viewer.git"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user