Files
radicle-explorer/package.json
T
Rūdolfs Ošiņš 221eb9b890 Serve landing homepage on the radicle.network deployment
The canonical radicle.network deployment serves the marketing landing
page at `/`, while self-hosted deployments keep the node view. Opt in
at build time without changing the default.
2026-07-15 15:42:22 +02:00

91 lines
3.2 KiB
JSON

{
"name": "radicle-explorer",
"private": true,
"version": "1.0.0",
"scripts": {
"start": "vite",
"serve": "vite preview",
"build": "vite build && scripts/copy-katex-assets && scripts/install-twemoji-assets",
"postinstall": "scripts/copy-katex-assets && scripts/install-twemoji-assets",
"check": "scripts/check",
"check:radicle-httpd": "cargo clippy --all --tests && cargo fmt --all --check",
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --write",
"test:unit": "TZ='UTC' vitest run",
"test:e2e": "NODE_CONFIG_ENV='test' TZ='UTC' playwright test",
"test:e2e:local": "scripts/compile-local-httpd && USE_LOCAL_HTTPD=true NODE_CONFIG_ENV='test' TZ='UTC' playwright test",
"test:http-client:unit": "NODE_CONFIG_ENV='test' TZ='UTC' vitest run --config http-client/vite.config.ts --reporter verbose",
"test:http-client:unit:local": "scripts/compile-local-httpd && USE_LOCAL_HTTPD=true NODE_CONFIG_ENV='test' TZ='UTC' vitest run --config http-client/vite.config.ts --reporter verbose",
"test:radicle-httpd": "cargo test --all-features",
"deploy": "rimraf build && npm clean-install && NODE_CONFIG_ENV='radicle.network' npm run build && scripts/inject-plausible && npx wrangler deploy",
"deploy:open-graph": "cd workers/open-graph && npx wrangler deploy",
"start:open-graph": "cd workers/open-graph && npx wrangler dev"
},
"type": "module",
"engines": {
"node": ">=24"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.60.0",
"@sveltejs/vite-plugin-svelte": "^7.1.2",
"@tsconfig/svelte": "^5.0.8",
"@types/js-yaml": "^4.0.9",
"@types/katex": "^0.16.8",
"@types/linkify-it": "^5.0.0",
"@types/lodash": "^4.17.24",
"@types/md5": "^2.3.6",
"@types/node": "^24",
"@types/wait-on": "^5.3.4",
"@typescript-eslint/parser": "^8.59.3",
"chalk": "^5.6.2",
"config": "^4.4.1",
"eslint": "^10.3.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-svelte": "^3.17.1",
"execa": "^9.6.1",
"get-port": "^7.2.0",
"globals": "^17.6.0",
"happy-dom": "^20.9.0",
"mdsvex": "^0.12.7",
"prettier": "^3.8.3",
"prettier-plugin-svelte": "^3.5.2",
"rehype-slug": "^6.0.0",
"remark-unwrap-images": "^4.0.1",
"rimraf": "^6.1.3",
"shiki": "^4.3.1",
"svelte-check": "^4.4.8",
"svelte-eslint-parser": "^1.6.1",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.3",
"vite": "^8.0.13",
"vitest": "^4.1.6",
"wait-on": "^9.0.10"
},
"dependencies": {
"@wooorm/starry-night": "^3.9.0",
"async-mutex": "^0.5.0",
"baconjs": "^3.0.23",
"bs58": "^6.0.0",
"buffer": "^6.0.3",
"compare-versions": "^6.1.1",
"dompurify": "^3.4.3",
"fuzzysort": "^3.1.0",
"hast-util-to-dom": "^4.0.1",
"hast-util-to-html": "^9.0.5",
"js-yaml": "^4.1.1",
"linkify-it": "^5.0.0",
"lodash": "^4.18.1",
"lru-cache": "^11.3.6",
"marked": "^18.0.3",
"marked-emoji": "^2.0.3",
"marked-footnote": "^1.4.0",
"marked-katex-extension": "^5.1.8",
"marked-linkify-it": "^3.1.15",
"md5": "^2.3.0",
"mermaid": "^11.15.0",
"svelte": "^5.55.7",
"twemoji": "^14.0.2",
"zod": "^4.4.3"
}
}