Files
radicle-explorer/package.json
T
Brandon OxendineandRūdolfs Ošiņš dc1a067396 Render mermaid diagrams
Mermaid code blocks showed up as code. Mermaid is loaded lazily, and
diagrams are redrawn when the app theme changes. DOMPurify's config
moves from a global `setConfig` to each call site, because the global
one stripped mermaid's SVG output.

Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-10-07 16:56:58 +02:00

108 lines
3.4 KiB
JSON

{
"name": "radicle-desktop",
"private": true,
"version": "0.0.0",
"description": "",
"type": "module",
"scripts": {
"start": "vite",
"dev": "npx tauri dev -- --profile dev-without-assertions --features devtools",
"start:http": "cargo run --manifest-path ./crates/test-http-api/Cargo.toml",
"build": "vite build && scripts/copy-katex-assets && scripts/install-twemoji-assets",
"build:http": "cargo build --manifest-path ./crates/test-http-api/Cargo.toml",
"postinstall": "scripts/copy-katex-assets && scripts/install-twemoji-assets",
"preview": "vite preview",
"check": "scripts/check-js && scripts/check-rs",
"check-js": "scripts/check-js",
"check-rs": "scripts/check-rs",
"check:ci": "scripts/check-ci",
"test:unit": "TZ='UTC' vitest run",
"test:e2e": "TZ='UTC' playwright test",
"format": "npx prettier . --write && npx eslint --fix .",
"generate-types": "cargo test --manifest-path ./crates/radicle-types/Cargo.toml",
"tauri": "npx tauri"
},
"engines": {
"node": ">=24",
"npm": ">=11.16"
},
"license": "GPL-3.0-only",
"dependencies": {
"@asciidoctor/core": "^4.0.11",
"@floating-ui/dom": "^1.8.0",
"@pierre/diffs": "1.3.0-beta.9",
"@pierre/trees": "1.0.0-beta.5",
"@tauri-apps/api": "^2.11.1",
"@tauri-apps/plugin-clipboard-manager": "^2.3.2",
"@tauri-apps/plugin-deep-link": "^2.4.10",
"@tauri-apps/plugin-dialog": "^2.7.2",
"@tauri-apps/plugin-log": "^2.9.0",
"@tauri-apps/plugin-shell": "^2.3.5",
"@tauri-apps/plugin-window-state": "^2.4.1",
"hast-util-to-html": "^9.0.5",
"overlayscrollbars": "^2.16.0",
"overlayscrollbars-svelte": "^0.5.5",
"semver": "^7.8.5",
"virtua": "^0.49.3",
"zod": "^4.4.3"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "1.61.1",
"@sveltejs/vite-plugin-svelte": "^7.2.0",
"@tauri-apps/cli": "^2.11.4",
"@tsconfig/svelte": "^5.0.8",
"@types/hast": "^3.0.5",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.24",
"@types/md5": "^2.3.6",
"@types/node": "^24",
"@types/semver": "^7.7.1",
"@types/wait-on": "^5.3.4",
"@wooorm/starry-night": "^3.10.0",
"baconjs": "^3.0.23",
"bs58": "^6.0.0",
"buffer": "^6.0.3",
"chalk": "^5.6.2",
"dompurify": "^3.4.12",
"eslint": "^10.7.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-simple-import-sort": "^14.0.0",
"eslint-plugin-svelte": "^3.22.0",
"execa": "^10.0.0",
"fuzzysort": "^3.1.0",
"get-port": "^7.2.0",
"globals": "^17.7.0",
"happy-dom": "^20.11.0",
"hast-util-to-dom": "^4.0.1",
"js-yaml": "^5.2.1",
"katex": "^0.18.9",
"lodash": "^4.18.1",
"lru-cache": "^11.5.2",
"marked": "^18.0.6",
"marked-emoji": "^2.0.3",
"marked-footnote": "^1.4.0",
"marked-katex-extension": "^5.1.10",
"marked-linkify-it": "^4.0.0",
"md5": "^2.3.0",
"mermaid": "^11.16.0",
"playwright": "1.61.1",
"prettier": "^3.9.5",
"prettier-plugin-svelte": "^4.1.1",
"svelte": "^5.56.6",
"svelte-check": "^4.7.3",
"svelte-eslint-parser": "^1.8.0",
"tslib": "^2.8.1",
"twemoji": "^14.0.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.64.0",
"vite": "^8.1.5",
"vitest": "^4.1.10",
"vscode-oniguruma": "^2.0.1",
"wait-on": "^9.0.10"
},
"allowScripts": {
"fsevents": false
}
}