Files
iot-dc3/docs/package.json
T
pnokerandClaude 7596fd2e15 docs: convert all 107 mermaid diagrams to self-contained SVG components
- Replace all mermaid blocks (zh+en) with 112 Vue SVG diagram components
  covering flowchart/sequence/ER/class/state diagram types
- Remove mermaid + vitepress-plugin-mermaid dependencies (config.mts, package.json)
  Build time drops from ~10s to ~6.4s; per-page eager JS ~528KB→~160KB gzip
- Fix 4 undefined CSS variables (--dc3-divider, --dc3-fe-text,
  --dc3-region-amber, --dc3-region-be) that caused invisible lifelines
- Unify terminology: 物模型→模板 with comparison table + Badge
- Fix factual errors: MQTT batch 5ms→5s, MongoDB hallucination removed,
  agentic /v1/ path corrected, tool count 150+→330+, compose drivers 8→22
- Remove 14 orphaned architecture images (replaced by Vue components)
- Add --dc3-rose-fill token (tenant/alarm styling)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-16 13:06:09 +08:00

29 lines
792 B
JSON

{
"name": "iot-dc3",
"private": true,
"description": "IoT DC3 is a distributed industrial IoT platform for device access, data collection, and AI-assisted operations.",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/pnoker/iot-dc3"
},
"scripts": {
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview",
"docs:dev": "vitepress dev",
"docs:build": "vitepress build",
"docs:preview": "vitepress preview"
},
"devDependencies": {
"@braintree/sanitize-url": "^7.1.2",
"cytoscape": "^3.34.0",
"cytoscape-cose-bilkent": "^4.1.0",
"dayjs": "^1.11.21",
"debug": "^4.4.3",
"medium-zoom": "^1.1.0",
"vitepress": "^1.6.4"
},
"packageManager": "pnpm@11.13.0"
}