|
33 | 33 | "build": "swc --strip-leading-paths --delete-dir-on-start -d dist src",
|
34 | 34 | "postbuild": "concurrently npm:lint npm:typecheck",
|
35 | 35 | "format": "prettier -w src test",
|
36 |
| - "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx src test", |
| 36 | + "lint": "eslint --cache", |
37 | 37 | "typecheck": "tsc -p . --emitDeclarationOnly",
|
38 |
| - "test": "c8 -c test/config/c8-local.json node --import tsx --test test/*.test.ts", |
39 |
| - "test:ci": "c8 -c test/config/c8-ci.json node --import tsx --test-reporter=tap --test test/*.test.ts", |
| 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 | 40 | "ci": "npm run build && npm run test:ci",
|
41 | 41 | "prepublishOnly": "npm run ci",
|
42 | 42 | "postpublish": "git push origin && git push origin -f --tags"
|
43 | 43 | },
|
44 | 44 | "dependencies": {
|
45 |
| - "@fastify/static": "^7.0.3", |
46 |
| - "fastify-plugin": "^4.5.1", |
| 45 | + "@fastify/static": "^8.0.2", |
| 46 | + "fastify-plugin": "^5.0.1", |
47 | 47 | "js-yaml": "^4.1.0",
|
48 |
| - "swagger-ui-dist": "^5.15.1" |
| 48 | + "swagger-ui-dist": "^5.17.14" |
49 | 49 | },
|
50 | 50 | "devDependencies": {
|
51 |
| - "@cowtech/eslint-config": "^9.0.3", |
52 |
| - "@swc/cli": "^0.3.12", |
53 |
| - "@swc/core": "^1.4.13", |
| 51 | + "@cowtech/eslint-config": "10.0.0", |
| 52 | + "@swc-node/register": "^1.10.9", |
| 53 | + "@swc/cli": "0.4.1-nightly.20240914", |
| 54 | + "@swc/core": "^1.7.36", |
54 | 55 | "@types/js-yaml": "^4.0.9",
|
55 |
| - "@types/node": "^20.12.7", |
56 |
| - "@types/swagger-ui-dist": "^3.30.4", |
57 |
| - "c8": "^9.1.0", |
58 |
| - "chokidar": "^3.6.0", |
59 |
| - "concurrently": "^8.2.2", |
60 |
| - "eslint": "^8.57.0", |
61 |
| - "fastify": "^4.26.2", |
62 |
| - "prettier": "^3.2.5", |
63 |
| - "tsx": "^4.7.2", |
64 |
| - "typescript": "^5.4.5" |
| 56 | + "@types/node": "^22.7.7", |
| 57 | + "@types/swagger-ui-dist": "^3.30.5", |
| 58 | + "c8": "^10.1.2", |
| 59 | + "chokidar": "^4.0.1", |
| 60 | + "concurrently": "^9.0.1", |
| 61 | + "eslint": "^9.13.0", |
| 62 | + "fastify": "^5.0.0", |
| 63 | + "prettier": "^3.3.3", |
| 64 | + "typescript": "^5.6.3" |
65 | 65 | },
|
66 | 66 | "engines": {
|
67 |
| - "node": ">= 18.18.0" |
| 67 | + "node": ">= 20.18.0" |
68 | 68 | }
|
69 | 69 | }
|
0 commit comments