kimai-plugin-heatmap/package.json
Christopher Mühl 032b6f87ff
feat: add JS toolchain — esbuild, TypeScript, Vitest
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 13:11:26 +02:00

32 lines
1 KiB
JSON

{
"name": "kimai-heatmap-bundle",
"private": true,
"type": "module",
"scripts": {
"build": "esbuild assets/src/heatmap.ts --bundle --outfile=Resources/public/heatmap.js --format=iife --global-name=KimaiHeatmap --minify",
"build:dev": "esbuild assets/src/heatmap.ts --bundle --outfile=Resources/public/heatmap.js --format=iife --global-name=KimaiHeatmap --sourcemap",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"d3-array": "^3.2.4",
"d3-scale": "^4.0.2",
"d3-scale-chromatic": "^3.1.0",
"d3-selection": "^3.0.0",
"d3-time": "^3.1.0",
"d3-time-format": "^4.1.0"
},
"devDependencies": {
"@types/d3-array": "^3.2.2",
"@types/d3-scale": "^4.0.9",
"@types/d3-scale-chromatic": "^3.1.0",
"@types/d3-selection": "^3.0.11",
"@types/d3-time": "^3.0.4",
"@types/d3-time-format": "^4.0.3",
"@vitest/coverage-v8": "^4.1.3",
"esbuild": "^0.28.0",
"jsdom": "^29.0.2",
"typescript": "^6.0.2",
"vitest": "^4.1.3"
}
}