|
11 | 11 | "author": "Pelle Wessman <pelle@kodfabrik.se> (http://kodfabrik.se/)", |
12 | 12 | "license": "MIT", |
13 | 13 | "engines": { |
14 | | - "node": "^20.19.0 || ^22.13.0 || >=24", |
15 | | - "typescript": ">=5.8" |
| 14 | + "node": "^22.22.2 || ^24.15.0 || >=26.0.0", |
| 15 | + "typescript": ">=5.9" |
16 | 16 | }, |
17 | 17 | "type": "module", |
18 | 18 | "exports": "./index.js", |
|
26 | 26 | "lib/**/*.d.ts.map" |
27 | 27 | ], |
28 | 28 | "scripts": { |
| 29 | + "build": "run-s build:*", |
29 | 30 | "build:0": "run-s clean", |
30 | 31 | "build:1-declaration": "tsc -p declaration.tsconfig.json", |
31 | | - "build": "run-s build:*", |
32 | | - "check-type-tests": "run-s build && tstyche --target \"$(node -p \"require('./package.json').engines.typescript\")\" --reporters list,summary && run-s clean", |
| 32 | + "check": "run-s clean && run-p check:* --continue-on-error && run-s check-type-tests", |
33 | 33 | "check:installed-check": "installed-check -i tstyche", |
34 | 34 | "check:knip": "knip", |
35 | 35 | "check:lint": "eslint", |
36 | 36 | "check:tsc": "tsc", |
37 | 37 | "check:type-coverage": "type-coverage --detail --strict --at-least 99 --ignore-files 'test/*'", |
38 | | - "check": "run-s clean && run-p check:* --continue-on-error && run-s check-type-tests", |
39 | | - "clean:declarations-top": "rm -f $(find . -maxdepth 1 -type f -name '*.d.ts*' ! -name 'index.d.ts')", |
40 | | - "clean:declarations-lib": "rm -f $(find lib -type f -name '*.d.ts*' ! -name '*-types.d.ts' 2>/dev/null || true)", |
| 38 | + "check-type-tests": "run-s build && tstyche --target \"$(node -p \"require('./package.json').engines.typescript\")\" --reporters list,summary && run-s clean", |
41 | 39 | "clean": "run-p clean:*", |
42 | | - "husky-enable": "husky", |
| 40 | + "clean:declarations-lib": "rm -f $(find lib -type f -name '*.d.ts*' ! -name '*-types.d.ts' 2>/dev/null || true)", |
| 41 | + "clean:declarations-top": "rm -f $(find . -maxdepth 1 -type f -name '*.d.ts*' ! -name 'index.d.ts')", |
43 | 42 | "husky-disable": "git config --unset core.hooksPath", |
| 43 | + "husky-enable": "husky", |
44 | 44 | "prepublishOnly": "run-s build", |
| 45 | + "test": "run-s check test:*", |
45 | 46 | "test:node": "c8 --reporter=lcov --reporter=text node --test", |
46 | | - "test-ci": "run-s test:*", |
47 | | - "test": "run-s check test:*" |
| 47 | + "test-ci": "run-s test:*" |
48 | 48 | }, |
49 | 49 | "devDependencies": { |
50 | | - "@types/node": "^20.19.37", |
51 | | - "@voxpelli/eslint-config": "^23.0.0", |
52 | | - "@voxpelli/tsconfig": "^16.1.0", |
53 | | - "@voxpelli/typed-utils": "^4.0.0", |
54 | | - "c8": "^11.0.0", |
55 | | - "eslint": "^9.39.4", |
| 50 | + "@types/node": "^22.20.1", |
| 51 | + "@voxpelli/eslint-config": "^25.1.0", |
| 52 | + "@voxpelli/tsconfig": "^16.2.1", |
| 53 | + "@voxpelli/typed-utils": "^5.0.0", |
| 54 | + "c8": "^12.0.0", |
| 55 | + "eslint": "^9.39.5", |
56 | 56 | "husky": "^9.1.7", |
57 | 57 | "installed-check": "^10.0.1", |
58 | | - "knip": "^5.86.0", |
59 | | - "npm-run-all2": "^8.0.4", |
60 | | - "tstyche": "^6.2.0", |
61 | | - "type-coverage": "^2.29.7", |
62 | | - "typescript": "~5.9.3" |
| 58 | + "knip": "^6.29.0", |
| 59 | + "npm-run-all2": "^9.0.2", |
| 60 | + "tstyche": "^7.2.2", |
| 61 | + "type-coverage": "^2.30.1", |
| 62 | + "typescript": "~6.0.2" |
63 | 63 | } |
64 | 64 | } |
0 commit comments