Files
tally-app-svelte/frontend/package.json
Sebastian Slettebakken 3d9f7d2052 feat: initialize Svelte frontend with Vite and TypeScript
- Added package.json for project configuration and dependencies.
- Included images for the application (teh-jokur.png and vite.svg).
- Created main application structure with App.svelte, CounterCard.svelte, and AddCounterCard.svelte components.
- Implemented functionality for adding, editing, incrementing, and decrementing counters.
- Added clickOutside utility for handling outside clicks in editing mode.
- Configured TypeScript with appropriate tsconfig files for app and node.
- Set up Vite configuration for building the application.
- Added global styles in app.css for consistent UI design.
2025-11-10 23:52:12 +01:00

22 lines
515 B
JSON

{
"name": "tally-app",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"@tsconfig/svelte": "^5.0.5",
"@types/node": "^24.10.0",
"svelte": "^5.43.5",
"svelte-check": "^4.3.3",
"typescript": "~5.9.3",
"vite": "^7.2.2"
}
}