mirror of
https://github.com/aculix/negotium.git
synced 2026-09-11 07:28:17 +00:00
756b4254b4
Bundle goes from 337 kB to 52 kB, or 89 kB to 20 kB gzipped. Almost all of it was lottie-web, imported at the top level to draw one decorative empty state, so every visitor paid 305 kB whether they ever saw it or not. It's an inline SVG now, and it respects prefers-reduced-motion. The 500ms splash is gone. There was no async work behind it. Dark mode is applied by a small script in the head before first paint, so dark-mode users stop getting a white flash on load. The theme class moves to <html>, and App.svelte reads its initial state from that class instead of re-reading storage after mount. publicDir moves from assets/ to public/, which stops shipping the 200 kB README screenshot to everyone.
29 lines
627 B
JSON
29 lines
627 B
JSON
{
|
|
"name": "negotium-todo",
|
|
"version": "1.0.0",
|
|
"description": "A clean, minimal to-do list application with smooth animations and dark/light mode support",
|
|
"type": "module",
|
|
"main": "index.html",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
"svelte": "^5.56.9",
|
|
"vite": "^8.2.1",
|
|
"vitest": "^4.1.10"
|
|
},
|
|
"keywords": [
|
|
"todo",
|
|
"svelte",
|
|
"productivity",
|
|
"minimal"
|
|
],
|
|
"author": "Negotium",
|
|
"license": "MIT"
|
|
}
|