Introduces Brandi DI container for managing application dependencies. This change replaces the existing factory pattern with a proper dependency injection mechanism, improving code modularity, testability, and maintainability. It configures all managers and core services within the container, ensuring proper dependency resolution.
29 lines
910 B
JSON
29 lines
910 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",
|
|
"brandi": "^5.0.0",
|
|
"date-fns": "^4.1.0",
|
|
"date-fns-tz": "^3.2.0",
|
|
"fuse.js": "^7.1.0"
|
|
}
|
|
}
|