|
32 | 32 | "p-queue": "^9.0.1", |
33 | 33 | "recursive-readdir": "^2.2.3", |
34 | 34 | "tus-js-client": "^4.3.1", |
| 35 | + "typanion": "^3.14.0", |
35 | 36 | "type-fest": "^4.41.0", |
36 | 37 | "zod": "3.25.76" |
37 | 38 | }, |
38 | 39 | "devDependencies": { |
39 | 40 | "@biomejs/biome": "^2.2.4", |
40 | 41 | "@types/debug": "^4.1.12", |
| 42 | + "@types/node": "^24.10.3", |
41 | 43 | "@types/recursive-readdir": "^2.2.4", |
42 | 44 | "@types/temp": "^0.9.4", |
43 | 45 | "@vitest/coverage-v8": "^3.2.4", |
44 | 46 | "badge-maker": "^5.0.2", |
45 | 47 | "execa": "9.6.0", |
46 | 48 | "image-size": "^2.0.2", |
| 49 | + "knip": "^5.73.3", |
47 | 50 | "minimatch": "^10.1.1", |
48 | 51 | "nock": "^14.0.10", |
49 | 52 | "npm-run-all": "^4.1.5", |
|
62 | 65 | "src": "./src" |
63 | 66 | }, |
64 | 67 | "scripts": { |
65 | | - "check": "yarn lint:ts && yarn fix && yarn test:unit", |
| 68 | + "check": "yarn knip --fix --allow-remove-files --no-config-hints && yarn lint:ts && yarn fix && yarn test:unit", |
66 | 69 | "fix:js": "biome check --write .", |
67 | 70 | "lint:ts": "tsc --build", |
68 | 71 | "fix:js:unsafe": "biome check --write . --unsafe", |
69 | 72 | "lint:js": "biome check .", |
70 | 73 | "lint": "npm-run-all --parallel 'lint:js'", |
71 | 74 | "fix": "npm-run-all --serial 'fix:js'", |
| 75 | + "lint:deps": "knip --dependencies --no-progress", |
| 76 | + "fix:deps": "knip --dependencies --no-progress --fix", |
| 77 | + "knip": "knip --no-config-hints --no-progress", |
72 | 78 | "prepack": "rm -f tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo && tsc --build tsconfig.build.json", |
73 | 79 | "test:unit": "vitest run --coverage ./test/unit", |
74 | 80 | "test:e2e": "vitest run ./test/e2e", |
|
0 commit comments