|
30 | 30 | "build:main": "tsc -p tsconfig.json", |
31 | 31 | "fix": "run-s fix:*", |
32 | 32 | "fix:prettier": "prettier \"src/**/*.ts\" --write", |
33 | | - "fix:lint": "eslint --cache src --ext .ts --fix", |
| 33 | + "fix:lint": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint --cache src --ext .ts --fix", |
34 | 34 | "test": "run-s build test:*", |
35 | | - "test:lint": "eslint --cache src --ext .ts", |
| 35 | + "test:lint": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint --cache src --ext .ts", |
36 | 36 | "test:prettier": "prettier \"src/**/*.ts\" --list-different", |
37 | 37 | "test:unit": "nyc ava", |
38 | 38 | "check-cli": "run-s test diff-integration-tests check-integration-tests", |
|
46 | 46 | "cov:send": "run-s cov:lcov && codecov", |
47 | 47 | "cov:check": "nyc report && nyc check-coverage", |
48 | 48 | "doc": "run-s doc:html && open-cli build/docs/index.html", |
49 | | - "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs", |
50 | | - "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json", |
| 49 | + "doc:html": "typedoc --entryPointStrategy expand --entryPoints src --exclude **/*.spec.ts --out build/docs", |
| 50 | + "doc:json": "typedoc --entryPointStrategy expand --entryPoints src --exclude **/*.spec.ts --json build/docs/typedoc.json", |
51 | 51 | "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs", |
52 | 52 | "version": "standard-version", |
53 | 53 | "reset-hard": "git clean -dfx && git reset --hard && yarn", |
54 | | - "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish" |
| 54 | + "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish", |
| 55 | + "prepare": "husky" |
55 | 56 | }, |
56 | 57 | "engines": { |
57 | 58 | "node": ">=18.19.0" |
|
65 | 66 | "kruptein": "^3.0.0" |
66 | 67 | }, |
67 | 68 | "devDependencies": { |
68 | | - "@ava/typescript": "^1.1.1", |
69 | | - "@commitlint/cli": "^11.0.0", |
70 | | - "@commitlint/config-conventional": "^11.0.0", |
| 69 | + "@ava/typescript": "^6.0.0", |
| 70 | + "@commitlint/cli": "^20.1.0", |
| 71 | + "@commitlint/config-conventional": "^20.0.0", |
71 | 72 | "@istanbuljs/nyc-config-typescript": "^1.0.1", |
72 | | - "@types/debug": "^4.1.7", |
73 | | - "@types/express": "^4.17.13", |
74 | | - "@types/express-session": "^1.17.4", |
75 | | - "@types/node": "^14.14.20", |
76 | | - "@types/supertest": "^2.0.10", |
77 | | - "@typescript-eslint/eslint-plugin": "^4.12.0", |
78 | | - "@typescript-eslint/parser": "^4.12.0", |
79 | | - "ava": "^3.12.1", |
| 73 | + "@types/debug": "^4.1.12", |
| 74 | + "@types/express": "^4.17.21", |
| 75 | + "@types/express-session": "^1.18.2", |
| 76 | + "@types/node": "^24.10.1", |
| 77 | + "@types/supertest": "^6.0.3", |
| 78 | + "@typescript-eslint/eslint-plugin": "^8.46.4", |
| 79 | + "@typescript-eslint/parser": "^8.46.4", |
| 80 | + "ava": "^6.4.1", |
80 | 81 | "codecov": "^3.5.0", |
81 | 82 | "cspell": "^4.1.0", |
82 | 83 | "cz-conventional-changelog": "^3.3.0", |
83 | | - "eslint": "^7.17.0", |
84 | | - "eslint-config-prettier": "^7.1.0", |
85 | | - "eslint-config-prettier-standard": "^3.0.1", |
86 | | - "eslint-config-standard": "^16.0.2", |
| 84 | + "eslint": "^9.39.1", |
| 85 | + "eslint-config-prettier": "^10.1.8", |
87 | 86 | "eslint-plugin-eslint-comments": "^3.2.0", |
88 | | - "eslint-plugin-import": "^2.22.1", |
89 | | - "eslint-plugin-node": "^11.1.0", |
90 | | - "eslint-plugin-prettier": "^3.3.1", |
91 | | - "eslint-plugin-promise": "^4.2.1", |
92 | | - "eslint-plugin-standard": "^5.0.0", |
| 87 | + "eslint-plugin-prettier": "^5.5.4", |
93 | 88 | "express": "^4.17.1", |
94 | 89 | "express-session": "^1.17.1", |
95 | 90 | "gh-pages": "^3.1.0", |
96 | | - "husky": "4", |
97 | | - "lint-staged": "^10.5.4", |
| 91 | + "husky": "^9.1.7", |
| 92 | + "lint-staged": "^16.2.6", |
98 | 93 | "mongodb": "^6.21.0", |
99 | 94 | "npm-run-all": "^4.1.5", |
100 | 95 | "nyc": "^15.1.0", |
101 | 96 | "open-cli": "^6.0.1", |
102 | | - "prettier": "^2.2.1", |
| 97 | + "prettier": "^3.6.2", |
103 | 98 | "standard-version": "^9.0.0", |
104 | 99 | "supertest": "^6.1.3", |
105 | | - "ts-node": "^9.0.0", |
106 | | - "typedoc": "^0.19.0", |
107 | | - "typescript": "^4.0.2" |
| 100 | + "ts-node": "^10.9.2", |
| 101 | + "typedoc": "^0.28.14", |
| 102 | + "typescript": "^5.9.3", |
| 103 | + "cross-env": "^10.1.0" |
108 | 104 | }, |
109 | 105 | "files": [ |
110 | 106 | "build/main", |
|
122 | 118 | "typescript": { |
123 | 119 | "rewritePaths": { |
124 | 120 | "src/": "build/main/" |
125 | | - } |
| 121 | + }, |
| 122 | + "compile": false |
126 | 123 | }, |
127 | 124 | "files": [ |
128 | 125 | "!build/module/**", |
|
145 | 142 | "**/*.spec.js" |
146 | 143 | ] |
147 | 144 | }, |
148 | | - "husky": { |
149 | | - "hooks": { |
150 | | - "pre-commit": "lint-staged", |
151 | | - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
152 | | - } |
153 | | - }, |
154 | 145 | "lint-staged": { |
155 | | - "*.{js,ts}": [ |
156 | | - "eslint --fix" |
| 146 | + "**/*.{ts,js}": [ |
| 147 | + "cross-env ESLINT_USE_FLAT_CONFIG=false eslint --cache --fix" |
157 | 148 | ] |
158 | 149 | }, |
159 | 150 | "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" |
|
0 commit comments