|
29 | 29 | "exports": "./dist/index.js", |
30 | 30 | "types": "./dist/index.d.ts", |
31 | 31 | "scripts": { |
32 | | - "dev": "swc --strip-leading-paths --delete-dir-on-start -s -w -d dist src", |
33 | | - "build": "swc --strip-leading-paths --delete-dir-on-start -d dist src", |
34 | | - "postbuild": "concurrently npm:lint npm:typecheck", |
| 32 | + "build": "rm -rf dist && tsc -p tsconfig.json && npm run lint", |
35 | 33 | "format": "prettier -w src test", |
36 | 34 | "lint": "eslint --cache", |
37 | | - "typecheck": "tsc -p . --emitDeclarationOnly", |
38 | | - "test": "c8 -c test/config/c8-local.json node --env-file=test.env --test test/*.test.ts", |
39 | | - "test:ci": "c8 -c test/config/c8-ci.json node --env-file=test.env --test-reporter=tap --test test/*.test.ts", |
40 | | - "ci": "npm run build && npm run test:ci", |
| 35 | + "test": "c8 -c test/config/c8-local.json node --test --test-reporter=cleaner-spec-reporter test/*.test.ts", |
| 36 | + "ci": "npm run build && npm run test", |
41 | 37 | "prepublishOnly": "npm run ci", |
42 | 38 | "postpublish": "git push origin && git push origin -f --tags" |
43 | 39 | }, |
44 | 40 | "dependencies": { |
45 | 41 | "ajv": "^8.17.1", |
46 | | - "fastify-plugin": "^5.0.1", |
47 | | - "http-errors-enhanced": "^3.0.2" |
| 42 | + "fastify-plugin": "^5.1.0", |
| 43 | + "http-errors-enhanced": "^4.0.0" |
48 | 44 | }, |
49 | 45 | "devDependencies": { |
50 | | - "@cowtech/eslint-config": "10.2.0", |
51 | | - "@swc-node/register": "^1.10.9", |
52 | | - "@swc/cli": "0.5.2", |
53 | | - "@swc/core": "^1.10.3", |
54 | | - "@types/node": "^22.10.2", |
| 46 | + "@cowtech/eslint-config": "^11.0.0", |
| 47 | + "@cowtech/typescript-config": "^0.2.2", |
| 48 | + "@types/node": "^24.10.1", |
55 | 49 | "ajv-formats": "^3.0.1", |
56 | 50 | "c8": "^10.1.3", |
57 | | - "chokidar": "^4.0.3", |
58 | | - "concurrently": "^9.1.1", |
59 | | - "eslint": "^9.17.0", |
60 | | - "fastify": "^5.2.0", |
61 | | - "prettier": "^3.4.2", |
62 | | - "typescript": "^5.7.2" |
| 51 | + "cleaner-spec-reporter": "^1.0.0", |
| 52 | + "eslint": "^9.39.1", |
| 53 | + "fastify": "^5.6.2", |
| 54 | + "prettier": "^3.6.2", |
| 55 | + "typescript": "^5.9.3" |
63 | 56 | }, |
64 | 57 | "engines": { |
65 | | - "node": ">= 20.18.0" |
| 58 | + "node": ">= 22.21.0" |
66 | 59 | } |
67 | 60 | } |
0 commit comments