feat: Add documentation scripts for diagram exports and refresh process

This commit is contained in:
defiQUG
2025-11-11 09:13:22 -08:00
parent 76aa2c72c5
commit b421d2964c
2 changed files with 16 additions and 2 deletions

View File

@@ -9,7 +9,11 @@
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"deploy": "npm run build && gh-pages -d dist"
"deploy": "npm run build && gh-pages -d dist",
"diagram:png": "node scripts/export-architecture.mjs --format=png",
"diagram:svg": "node scripts/export-architecture.mjs --format=svg",
"docs:index": "node scripts/generate-doc-index.mjs",
"docs:refresh": "npm run docs:index && npm run diagram:png"
},
"keywords": [
"non-profit",