add knip - dead code analysis tool

This commit is contained in:
2026-09-28 21:45:53 +02:00
parent 33f6bf12b0
commit 5ac3dc3ad5
3 changed files with 381 additions and 2 deletions
+5 -1
View File
@@ -11,7 +11,10 @@
"typeCheck": "tsc -p ./tsconfig.json",
"postinstall": "patch-package",
"format": "oxfmt --check",
"format:fix": "oxfmt"
"format:fix": "oxfmt",
"knip": "knip",
"knip:prod": "knip --production",
"knip:ci": "knip --production --cache"
},
"dependencies": {
"@auth/mongodb-adapter": "^3.5.2",
@@ -30,6 +33,7 @@
"date-fns": "^4.1.0",
"geojson": "^0.5.0",
"jotai": "^2.6.1",
"knip": "^6.38.0",
"leaflet": "^1.9.4",
"leaflet-defaulticon-compatibility": "^0.1.2",
"leaflet-draw": "^1.0.4",