MIgrate adapter to Typescript
This commit is contained in:
+13
-6
@@ -25,7 +25,6 @@
|
||||
"url": "https://github.com/ioBroker/ioBroker.hass"
|
||||
},
|
||||
"dependencies": {
|
||||
"websocket": "^1.0.35",
|
||||
"ws": "^8.20.0",
|
||||
"@iobroker/adapter-core": "^3.3.2"
|
||||
},
|
||||
@@ -34,20 +33,28 @@
|
||||
"@alcalzone/release-script-plugin-iobroker": "^5.1.2",
|
||||
"@alcalzone/release-script-plugin-license": "^5.1.1",
|
||||
"@iobroker/adapter-dev": "^1.5.0",
|
||||
"@iobroker/build-tools": "^3.0.1",
|
||||
"@iobroker/eslint-config": "^2.2.0",
|
||||
"@iobroker/legacy-testing": "^2.0.2",
|
||||
"@iobroker/testing": "^5.2.2",
|
||||
"@types/ws": "^8.18.1",
|
||||
"mocha": "^11.7.5"
|
||||
},
|
||||
"main": "main.js",
|
||||
"main": "build/main.js",
|
||||
"files": [
|
||||
"lib/",
|
||||
"admin/",
|
||||
"admin{,/!(src)/**}/!(tsconfig|tsconfig.*|.eslintrc).{json,json5}",
|
||||
"admin{,/!(src)/**}/*.{html,css,png,svg,jpg,js}",
|
||||
"build/",
|
||||
"io-package.json",
|
||||
"main.js"
|
||||
"LICENSE"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "node node_modules/mocha/bin/mocha --exit",
|
||||
"test:integration": "mocha --exit",
|
||||
"test:package": "mocha test/testPackageFiles.js --exit",
|
||||
"test": "npm run test:integration",
|
||||
"build:tsc": "tsc -p tsconfig.build.json",
|
||||
"build": "npm run build:tsc",
|
||||
"lint": "eslint -c eslint.config.mjs",
|
||||
"release": "release-script",
|
||||
"release-patch": "release-script patch --yes",
|
||||
"release-minor": "release-script minor --yes",
|
||||
|
||||
Reference in New Issue
Block a user