mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-24 14:20:36 +08:00
We have a new apiVersion value in the config json that needs to be changed for each breaking change on httpd so we can simulate a new resource to the cache and get it cleared. Also improves the ResponseParseError giving the user more information on, if the node or the web client is outdated
73 lines
2.2 KiB
JSON
73 lines
2.2 KiB
JSON
{
|
|
"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",
|
|
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --write",
|
|
"test:unit": "TZ='UTC' vitest run",
|
|
"test:e2e": "TZ='UTC' playwright test",
|
|
"test:httpd-api:unit": "TZ='UTC' vitest run --config httpd-client/vite.config.ts --reporter verbose"
|
|
},
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=18.17.1"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.42.1",
|
|
"@sinonjs/fake-timers": "^11.2.2",
|
|
"@sveltejs/vite-plugin-svelte": "^3.0.2",
|
|
"@tsconfig/svelte": "^5.0.3",
|
|
"@types/dompurify": "^3.0.5",
|
|
"@types/katex": "^0.16.7",
|
|
"@types/lodash": "^4.17.0",
|
|
"@types/md5": "^2.3.5",
|
|
"@types/node": "^20.11.30",
|
|
"@types/sinon": "^17.0.3",
|
|
"@types/sinonjs__fake-timers": "^8.1.5",
|
|
"@types/wait-on": "^5.3.4",
|
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
"chalk": "^5.3.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
"eslint-plugin-svelte": "^2.35.1",
|
|
"execa": "^8.0.1",
|
|
"get-port": "^7.1.0",
|
|
"happy-dom": "^14.3.8",
|
|
"prettier": "^3.2.5",
|
|
"prettier-plugin-svelte": "^3.2.2",
|
|
"svelte-check": "^3.6.8",
|
|
"typescript": "^5.4.3",
|
|
"vite": "^5.2.6",
|
|
"vitest": "^1.4.0",
|
|
"wait-on": "^7.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@efstajas/svelte-stored-writable": "^0.2.0",
|
|
"@radicle/gray-matter": "4.1.0",
|
|
"@wooorm/starry-night": "^3.3.0",
|
|
"async-mutex": "^0.5.0",
|
|
"baconjs": "^3.0.17",
|
|
"bs58": "^5.0.0",
|
|
"buffer": "^6.0.3",
|
|
"compare-versions": "^6.1.0",
|
|
"dompurify": "^3.0.11",
|
|
"hast-util-to-dom": "^4.0.0",
|
|
"hast-util-to-html": "^9.0.0",
|
|
"lodash": "^4.17.21",
|
|
"lru-cache": "^10.2.0",
|
|
"marked": "^12.0.1",
|
|
"marked-katex-extension": "^5.0.1",
|
|
"marked-linkify-it": "^3.1.9",
|
|
"md5": "^2.3.0",
|
|
"plausible-tracker": "^0.3.8",
|
|
"sinon": "^17.0.1",
|
|
"svelte": "^4.2.12",
|
|
"twemoji": "^14.0.2",
|
|
"zod": "^3.22.4"
|
|
}
|
|
}
|