improved component composition and added tests.

This commit is contained in:
Moon.eth
2026-07-29 10:30:28 +09:00
parent 95f9d73681
commit 264ae17a8d
39 changed files with 1811 additions and 147 deletions
+8 -2
View File
@@ -9,16 +9,22 @@
"build": "svelte-check --tsconfig ./tsconfig.json && vite build",
"build:only": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json"
"check": "svelte-check --tsconfig ./tsconfig.json",
"test": "vitest run",
"test:watch": "vitest"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^7.2.0",
"@testing-library/jest-dom": "^7.0.0",
"@testing-library/svelte": "^5.4.2",
"@tsconfig/svelte": "^5.0.4",
"@types/node": "^26.1.2",
"jsdom": "^29.1.1",
"svelte": "^5.56.8",
"svelte-check": "^4.3.3",
"typescript": "^5.9.3",
"vite": "^8.1.5"
"vite": "^8.1.5",
"vitest": "^4.1.10"
},
"dependencies": {
"dompurify": "^3.4.12"