Files
radicle-explorer/package.json
T
Rūdolfs Ošiņš ad75d6488c Bump playwright 1.52.0 -> 1.59.1
Playwright 1.52 hangs under Node 24 when loading test files that
transitively import modules with top-level await (tests/support/
support.ts). Node 24 enables require(esm) by default, and the old
CJS-based .ts transformer deadlocks on TLA.

Also update CLAUDE.md: playwright 1.59's --project flag is variadic
and greedily consumes trailing args, so the file path must come
before --project.
2026-04-22 14:36:52 +02:00

85 lines
3.0 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": "cd 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": "cd radicle-httpd && cargo test --all-features",
"deploy": "rimraf build && npm clean-install && 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": "^9.27.0",
"@playwright/test": "1.59.1",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tsconfig/svelte": "^5.0.4",
"@types/config": "^3.3.5",
"@types/katex": "^0.16.7",
"@types/lodash": "^4.17.17",
"@types/md5": "^2.3.5",
"@types/node": "^24",
"@types/wait-on": "^5.3.4",
"@typescript-eslint/parser": "^8.32.1",
"chalk": "^5.4.1",
"config": "^4.0.0",
"eslint": "^9.27.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-svelte": "^3.9.0",
"execa": "^9.5.3",
"get-port": "^7.1.0",
"globals": "^16.1.0",
"happy-dom": "^17.4.7",
"prettier": "^3.5.3",
"prettier-plugin-svelte": "^3.4.0",
"rimraf": "^6.1.2",
"svelte-check": "^4.2.1",
"svelte-eslint-parser": "^1.2.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1",
"vite": "^6.3.5",
"vite-plugin-virtual": "^0.4.0",
"vitest": "^3.1.4",
"wait-on": "^8.0.3"
},
"dependencies": {
"@radicle/gray-matter": "4.1.0",
"@wooorm/starry-night": "^3.7.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.2.6",
"fuzzysort": "^3.1.0",
"hast-util-to-dom": "^4.0.1",
"hast-util-to-html": "^9.0.5",
"lodash": "^4.17.21",
"lru-cache": "^11.1.0",
"marked": "^15.0.12",
"marked-emoji": "^2.0.0",
"marked-footnote": "^1.2.4",
"marked-katex-extension": "^5.1.4",
"marked-linkify-it": "^3.1.12",
"md5": "^2.3.0",
"svelte": "^5.30.0",
"twemoji": "^14.0.2",
"zod": "^3.25.16"
}
}