Anvil/package.json
André Jaenisch 5af877bcaa
feat: add Appearance panel to Settings modal
This features two knobs: theming and indent.
I was curious whether I could actually hand the theme switching to the
parent, so I created an event dispatcher for it.

It works! But I had to hack the Svelte component a little.
I also need to sync it two the theme switcher in the popup and go over
every component that is focused on light mode only at the moment. To
limit the work I will constraint myself to the Profile page here. If the
theme is meant to apply to other pages as well, we will need to persist
the setting. That means a database in Anvil, I guess. I'm not willing to
take that step right now. It must come at some point (e.g. when talking
to Vervis to actually inform about changes made in Anvil).

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-08-09 08:32:15 +02:00

82 lines
2.6 KiB
JSON

{
"name": "anvil",
"version": "0.0.13",
"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 run --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": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@playwright/test": "1.45.3",
"@skeletonlabs/skeleton": "2.10.2",
"@skeletonlabs/tw-plugin": "0.4.0",
"@storybook/addon-a11y": "8.2.6",
"@storybook/addon-coverage": "1.0.4",
"@storybook/addon-essentials": "8.2.6",
"@storybook/addon-interactions": "8.2.6",
"@storybook/addon-links": "8.2.6",
"@storybook/blocks": "8.2.6",
"@storybook/builder-vite": "8.2.6",
"@storybook/svelte": "8.2.6",
"@storybook/sveltekit": "8.2.6",
"@storybook/test": "8.2.6",
"@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.8",
"@testing-library/svelte": "5.2.1",
"@types/node": "22.0.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@vitest/coverage-istanbul": "2.0.4",
"autoprefixer": "10.4.19",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-svelte": "2.43.0",
"gh-pages": "6.1.1",
"jsdom": "24.1.1",
"postcss": "8.4.40",
"prettier": "3.3.3",
"prettier-plugin-svelte": "3.2.6",
"react": "18.3.1",
"react-dom": "18.3.1",
"storybook": "8.2.6",
"svelte": "4.2.18",
"svelte-check": "3.8.4",
"svelte-i18n": "4.0.0",
"svelte-octicons": "18.9.0",
"tailwindcss": "3.4.7",
"tslib": "2.6.3",
"typescript": "5.5.4",
"vite": "5.3.5",
"vitest": "2.0.4"
},
"type": "module",
"dependencies": {
"@floating-ui/dom": "1.6.8",
"@fontsource/spline-sans-mono": "5.0.20",
"axios": "1.7.2",
"cheerio": "1.0.0-rc.12"
}
}