diff --git a/package.json b/package.json index ab7bf40..68e6c38 100644 --- a/package.json +++ b/package.json @@ -25,11 +25,12 @@ "@alcalzone/release-script": "^5.0.0", "@alcalzone/release-script-plugin-iobroker": "^4.0.0", "@alcalzone/release-script-plugin-license": "^4.0.0", - "@iobroker/eslint-config": "^2.2.0", "@iobroker/build-tools": "^2.0.15", + "@iobroker/eslint-config": "^2.2.0", "@iobroker/legacy-testing": "^2.0.2", - "mocha": "^11.7.5", - "chai": "^4.5.0" + "@tsconfig/node20": "^20.1.9", + "chai": "^4.5.0", + "mocha": "^11.7.5" }, "bugs": { "url": "https://github.com/ioBroker/ioBroker.text2command/issues" diff --git a/tsconfig.json b/tsconfig.json index 8132617..5d10239 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ // Root tsconfig to set the settings and power editor support for all TS files { + "extends": "@tsconfig/node20/tsconfig.json", "compileOnSave": true, "compilerOptions": { // do not compile anything; this file is just to configure type checking