Calendar/package.json
Janus C. H. Knudsen 53cf097a47 Introduces DateService for time zone handling
Adds DateService using date-fns-tz for robust time zone
conversions and date manipulations.

Refactors DateCalculator and TimeFormatter to utilize the
DateService, centralizing date logic and ensuring consistent
time zone handling throughout the application.

Improves event dragging by updating time displays and data
attributes, handling cross-midnight events correctly.
2025-10-03 16:47:42 +02:00

28 lines
886 B
JSON

{
"name": "calendar-plantempus",
"version": "1.0.0",
"description": "Professional calendar component with TypeScript",
"type": "module",
"scripts": {
"build": "node build.js",
"build-simple": "esbuild src/**/*.ts --outdir=js --format=esm --sourcemap=inline --target=es2020",
"watch": "esbuild src/**/*.ts --outdir=js --format=esm --sourcemap=inline --target=es2020 --watch",
"clean": "powershell -Command \"if (Test-Path js) { Remove-Item -Recurse -Force js }\"",
"test": "vitest",
"test:run": "vitest run",
"test:ui": "vitest --ui"
},
"devDependencies": {
"@vitest/ui": "^3.2.4",
"esbuild": "^0.19.0",
"jsdom": "^27.0.0",
"typescript": "^5.0.0",
"vitest": "^3.2.4"
},
"dependencies": {
"@rollup/rollup-win32-x64-msvc": "^4.52.2",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"fuse.js": "^7.1.0"
}
}