Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body>
<body
class="text-white data-[interval=work]:bg-amber-700 data-[interval=short-break]:bg-teal-700 data-[interval=long-break]:bg-green-600"
data-interval="work">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
Expand Down
11 changes: 11 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pre-commit:
parallel: true
commands:
lint:
glob: '*.{js,ts,vue}'
run: pnpm eslint {staged_files}

format:
glob: '*.{css,html,json,md,yaml,yml}'
run: pnpm prettier --write {staged_files}
stage_fixed: true
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"devDependencies": {
"@eslint/js": "9.34.0",
"@iconify-json/zondicons": "1.2.2",
"@playwright/test": "^1.52.0",
"@tailwindcss/vite": "4.1.14",
"@types/node": "22.18.8",
Expand All @@ -35,11 +36,13 @@
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-vue": "10.4.0",
"lefthook": "2.0.2",
"prettier": "3.6.2",
"prettier-plugin-tailwindcss": "0.6.14",
"tailwindcss": "4.1.14",
"typescript": "5.9.3",
"typescript-eslint": "8.41.0",
"unplugin-icons": "22.5.0",
"vite": "npm:rolldown-vite@latest",
"vite-plugin-pwa": "1.0.3",
"vite-svg-loader": "5.1.0",
Expand Down
Loading