chore(storybook): install and configure Storybook 10 with svelte-vite

This commit is contained in:
Ilia Mashkov
2026-03-06 23:06:11 +03:00
parent e2eba5ec55
commit 1fed3aa7b4
6 changed files with 4475 additions and 21 deletions

View File

@@ -18,7 +18,9 @@
"test:watch": "vitest --watch",
"test:e2e": "playwright test",
"test:all": "bun run test && bun run test:e2e",
"test:coverage": "vitest --coverage"
"test:coverage": "vitest --coverage",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"devDependencies": {
"@biomejs/biome": "^2.4.5",
@@ -40,6 +42,15 @@
"tailwindcss": "^4.2.1",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vitest": "^4.0.18"
"vitest": "^4.0.18",
"storybook": "^10.2.16",
"@storybook/sveltekit": "^10.2.16",
"@storybook/addon-svelte-csf": "^5.0.11",
"@chromatic-com/storybook": "^5.0.1",
"@storybook/addon-vitest": "^10.2.16",
"@storybook/addon-a11y": "^10.2.16",
"@storybook/addon-docs": "^10.2.16",
"playwright": "^1.58.2",
"@vitest/browser-playwright": "^4.0.18"
}
}