7484bfeb1a
This allows for proper testing and documentation in Storybook. I also moved the image into its own component. This required me to adjust the vitest.config.ts slightly because it wasn't finding the image during tests. Since components are fully translatable, this means we have new keys now. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
{
|
|
"name": "anvil",
|
|
"version": "0.0.7",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"dev:tauri": "tauri dev",
|
|
"build": "vite build",
|
|
"build:tauri": "tauri build",
|
|
"build:tauri:debug": "tauri build --debug",
|
|
"preview": "vite preview",
|
|
"test": "playwright test",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"tauri": "tauri",
|
|
"test:unit": "vitest",
|
|
"test:unit:coverage": "vitest --coverage",
|
|
"lint": "prettier --check . && eslint .",
|
|
"format": "prettier --write .",
|
|
"storybook": "STORYBOOK_DISABLE_TELEMETRY=1 storybook dev -p 6006",
|
|
"build-storybook": "STORYBOOK_DISABLE_TELEMETRY=1 storybook build",
|
|
"deploy-storybook": "gh-pages -d storybook-static -b pages -r git@codeberg.org:Anvil/Anvil.git",
|
|
"predeploy-storybook": "npm run build-storybook"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.45.1",
|
|
"@skeletonlabs/skeleton": "2.10.1",
|
|
"@skeletonlabs/tw-plugin": "0.4.0",
|
|
"@storybook/addon-a11y": "8.1.11",
|
|
"@storybook/addon-essentials": "8.1.11",
|
|
"@storybook/addon-interactions": "8.1.11",
|
|
"@storybook/addon-links": "8.1.11",
|
|
"@storybook/blocks": "8.1.11",
|
|
"@storybook/builder-vite": "8.1.11",
|
|
"@storybook/svelte": "8.1.11",
|
|
"@storybook/sveltekit": "8.1.11",
|
|
"@storybook/test": "8.1.11",
|
|
"@sveltejs/adapter-node": "5.2.0",
|
|
"@sveltejs/kit": "2.5.18",
|
|
"@sveltejs/vite-plugin-svelte": "3.1.1",
|
|
"@tailwindcss/forms": "0.5.7",
|
|
"@tailwindcss/typography": "0.5.13",
|
|
"@tauri-apps/cli": "1.6.0",
|
|
"@testing-library/jest-dom": "6.4.6",
|
|
"@testing-library/svelte": "5.2.0",
|
|
"@types/node": "20.14.9",
|
|
"@typescript-eslint/eslint-plugin": "7.15.0",
|
|
"@typescript-eslint/parser": "7.15.0",
|
|
"@vitest/coverage-v8": "1.6.0",
|
|
"autoprefixer": "10.4.19",
|
|
"eslint": "8.56.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-storybook": "0.8.0",
|
|
"eslint-plugin-svelte": "2.41.0",
|
|
"gh-pages": "6.1.1",
|
|
"jsdom": "24.1.0",
|
|
"postcss": "8.4.39",
|
|
"prettier": "3.3.2",
|
|
"prettier-plugin-svelte": "3.2.5",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"storybook": "8.1.11",
|
|
"svelte": "4.2.18",
|
|
"svelte-check": "3.8.4",
|
|
"svelte-i18n": "4.0.0",
|
|
"svelte-octicons": "18.8.0",
|
|
"tailwindcss": "3.4.4",
|
|
"tslib": "2.6.3",
|
|
"typescript": "5.5.3",
|
|
"vite": "5.3.3",
|
|
"vitest": "1.6.0"
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"axios": "1.7.2",
|
|
"cheerio": "1.0.0-rc.12"
|
|
}
|
|
}
|