mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-24 14:20:36 +08:00
Also update node to v18.16 Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
71 lines
2.3 KiB
JSON
71 lines
2.3 KiB
JSON
{
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"start": "vite",
|
|
"start:ipfs": "VITE_HASH_ROUTING=1 vite --base ./",
|
|
"serve": "vite preview",
|
|
"build": "vite build && scripts/copy-katex-assets && scripts/install-twemoji-assets",
|
|
"build:ipfs": "VITE_HASH_ROUTING=1 vite build --base ./",
|
|
"postinstall": "scripts/copy-katex-assets && scripts/install-twemoji-assets",
|
|
"check": "scripts/check",
|
|
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --ignore-path .gitignore --write",
|
|
"test:unit": "TZ='UTC' vitest run",
|
|
"test:e2e": "TZ='UTC' playwright test",
|
|
"test:e2e:ipfs": "TZ='UTC' playwright test ./tests/e2e/hashRouter.spec.ts --config playwright.ipfs.config.ts",
|
|
"test:httpd-api:unit": "TZ='UTC' vitest run --config httpd-client/vite.config.ts --reporter verbose --threads false"
|
|
},
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=18.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.33.0",
|
|
"@sinonjs/fake-timers": "^10.1.0",
|
|
"@sveltejs/vite-plugin-svelte": "^2.2.0",
|
|
"@tsconfig/svelte": "^4.0.1",
|
|
"@types/dompurify": "^3.0.2",
|
|
"@types/katex": "^0.16.0",
|
|
"@types/lodash": "^4.14.194",
|
|
"@types/marked": "^4.3.0",
|
|
"@types/md5": "^2.3.2",
|
|
"@types/node": "^18.16.12",
|
|
"@types/sinon": "^10.0.15",
|
|
"@types/sinonjs__fake-timers": "^8.1.2",
|
|
"@types/wait-on": "^5.3.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
"chalk": "^5.2.0",
|
|
"eslint": "^8.40.0",
|
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
"execa": "^7.1.1",
|
|
"exit-hook": "^3.2.0",
|
|
"get-port": "^6.1.2",
|
|
"happy-dom": "^9.18.3",
|
|
"prettier": "^2.8.8",
|
|
"prettier-plugin-svelte": "^2.10.0",
|
|
"svelte-check": "^3.3.2",
|
|
"typescript": "^5.0.4",
|
|
"vite": "^4.3.7",
|
|
"vitest": "^0.31.0",
|
|
"wait-on": "^7.0.1"
|
|
},
|
|
"dependencies": {
|
|
"@radicle/gray-matter": "4.1.0",
|
|
"@wooorm/starry-night": "^2.0.0",
|
|
"baconjs": "^3.0.17",
|
|
"bs58": "^5.0.0",
|
|
"buffer": "^6.0.3",
|
|
"dompurify": "^3.0.3",
|
|
"hast-util-to-dom": "^3.1.1",
|
|
"hast-util-to-html": "^8.0.4",
|
|
"katex": "^0.16.7",
|
|
"lodash": "^4.17.21",
|
|
"marked": "^5.0.2",
|
|
"md5": "^2.3.0",
|
|
"plausible-tracker": "^0.3.8",
|
|
"sinon": "^15.0.4",
|
|
"svelte": "^3.59.1",
|
|
"twemoji": "^14.0.2",
|
|
"zod": "^3.21.4"
|
|
}
|
|
}
|