iobroker.wem-canapi 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/io-package.json CHANGED
@@ -1,79 +1,74 @@
1
1
  {
2
- "common": {
3
- "name": "wem-canapi",
4
- "messagebox": true,
5
- "version": "0.0.1",
6
- "news": {
7
- "0.0.1": {
8
- "en": "initial release",
9
- "de": "Erstveröffentlichung",
10
- "ru": "Начальная версия",
11
- "pt": "lançamento inicial",
12
- "nl": "Eerste uitgave",
13
- "fr": "Première version",
14
- "it": "Versione iniziale",
15
- "es": "Versión inicial",
16
- "pl": "Pierwsze wydanie",
17
- "uk": "Початкова версія",
18
- "zh-cn": "首次出版"
19
- }
20
- },
21
- "titleLang": {
22
- "en": "WEM CanAPI",
23
- "de": "WEM CanAPI",
24
- "ru": "WEM-CanAPI",
25
- "pt": "WEM CanAPI",
26
- "nl": "WEM CanAPI",
27
- "fr": "WEM CanAPI",
28
- "it": "WEM CanAPI",
29
- "es": "MEM CanAPI",
30
- "pl": "WEM CanAPI",
31
- "uk": "WEM CanAPI",
32
- "zh-cn": "WEM CanAPI"
33
- },
34
- "desc": {
35
- "en": "Get Values directly from the Weishaupt devices via CanAPI",
36
- "de": "Erhalten Sie Werte direkt von den Weishaupt-Geräten über CanAPI",
37
- "ru": "Получайте значения напрямую с устройств Weishaupt через CanAPI.",
38
- "pt": "Obtenha valores diretamente dos dispositivos Weishaupt via CanAPI",
39
- "nl": "Ontvang waarden rechtstreeks van de Weishaupt-apparaten via CanAPI",
40
- "fr": "Obtenez des valeurs directement depuis les appareils Weishaupt via CanAPI",
41
- "it": "Ottieni valori direttamente dai dispositivi Weishaupt tramite CanAPI",
42
- "es": "Obtenga valores directamente desde los dispositivos Weishaupt a través de CanAPI",
43
- "pl": "Uzyskaj wartości bezpośrednio z urządzeń Weishaupt za pośrednictwem CanAPI",
44
- "uk": "Отримайте значення безпосередньо з пристроїв Weishaupt через CanAPI",
45
- "zh-cn": "通过 CanAPI 直接从 Weishaupt 设备获取值"
46
- },
47
- "authors": [
48
- "TanteJoe <giithub@schubel.info>"
49
- ],
50
- "keywords": [
51
- "WEM Weishaupt CanAPI"
52
- ],
53
- "licenseInformation": {
54
- "type": "free",
55
- "license": "MIT"
56
- },
57
- "platform": "Javascript/Node.js",
58
- "icon": "wem-canapi.png",
59
- "enabled": true,
60
- "extIcon": "https://raw.githubusercontent.com/TanteJoe/ioBroker.wem-canapi/main/admin/wem-canapi.png",
61
- "readme": "https://github.com/TanteJoe/ioBroker.wem-canapi/blob/main/README.md",
62
- "loglevel": "info",
63
- "tier": 3,
64
- "mode": "daemon",
65
- "type": "climate-control",
66
- "compact": true,
67
- "connectionType": "local",
68
- "dataSource": "poll",
69
- "adminUI": {
70
- "config": "materialize",
71
- "tab":"html"
72
- },
73
- "dependencies": [
2
+ "common": {
3
+ "name": "wem-canapi",
4
+ "messagebox": true,
5
+ "version": "0.0.3",
6
+ "news": {
7
+ "0.0.1": {
8
+ "en": "initial release"
9
+ },
10
+ "0.0.2": {
11
+ "en": "First working release CSV Datapoint has to be approved"
12
+ },
13
+ "0.0.3": {
14
+ "en": "First release with release-Script"
15
+ }
16
+ },
17
+ "titleLang": {
18
+ "en": "WEM CanAPI",
19
+ "de": "WEM CanAPI",
20
+ "ru": "WEM-CanAPI",
21
+ "pt": "WEM CanAPI",
22
+ "nl": "WEM CanAPI",
23
+ "fr": "WEM CanAPI",
24
+ "it": "WEM CanAPI",
25
+ "es": "MEM CanAPI",
26
+ "pl": "WEM CanAPI",
27
+ "uk": "WEM CanAPI",
28
+ "zh-cn": "WEM CanAPI"
29
+ },
30
+ "desc": {
31
+ "en": "Get Values directly from the Weishaupt devices via CanAPI",
32
+ "de": "Erhalten Sie Werte direkt von den Weishaupt-Geräten über CanAPI",
33
+ "ru": "Получайте значения напрямую с устройств Weishaupt через CanAPI.",
34
+ "pt": "Obtenha valores diretamente dos dispositivos Weishaupt via CanAPI",
35
+ "nl": "Ontvang waarden rechtstreeks van de Weishaupt-apparaten via CanAPI",
36
+ "fr": "Obtenez des valeurs directement depuis les appareils Weishaupt via CanAPI",
37
+ "it": "Ottieni valori direttamente dai dispositivi Weishaupt tramite CanAPI",
38
+ "es": "Obtenga valores directamente desde los dispositivos Weishaupt a través de CanAPI",
39
+ "pl": "Uzyskaj wartości bezpośrednio z urządzeń Weishaupt za pośrednictwem CanAPI",
40
+ "uk": "Отримайте значення безпосередньо з пристроїв Weishaupt через CanAPI",
41
+ "zh-cn": "通过 CanAPI 直接从 Weishaupt 设备获取值"
42
+ },
43
+ "authors": [
44
+ "TanteJoe <giithub@schubel.info>"
45
+ ],
46
+ "keywords": [
47
+ "WEM Weishaupt CanAPI"
48
+ ],
49
+ "licenseInformation": {
50
+ "type": "free",
51
+ "license": "MIT"
52
+ },
53
+ "platform": "Javascript/Node.js",
54
+ "icon": "wem-canapi.png",
55
+ "enabled": true,
56
+ "extIcon": "https://raw.githubusercontent.com/TanteJoe/ioBroker.wem-canapi/main/admin/wem-canapi.png",
57
+ "readme": "https://github.com/TanteJoe/ioBroker.wem-canapi/blob/main/README.md",
58
+ "loglevel": "info",
59
+ "tier": 3,
60
+ "mode": "daemon",
61
+ "type": "climate-control",
62
+ "compact": true,
63
+ "connectionType": "local",
64
+ "dataSource": "poll",
65
+ "adminUI": {
66
+ "config": "materialize",
67
+ "tab": "html"
68
+ },
69
+ "dependencies": [
74
70
  {
75
- "js-controller": ">=6.0.11",
76
- "web": ">=5.1.2"
71
+ "js-controller": ">=7.2.0"
77
72
  }
78
73
  ],
79
74
  "globalDependencies": [
@@ -81,44 +76,42 @@
81
76
  "admin": ">=7.6.20"
82
77
  }
83
78
  ]
84
-
85
- },
86
- "protectedNative": [
79
+ },
80
+ "protectedNative": [
87
81
  "username",
88
82
  "password"
89
83
  ],
90
- "encryptedNative": [
91
- "password"
92
- ],
93
- "native": {
94
- "host": "",
95
- "port": 80,
96
- "username": "",
97
- "password": "",
98
- "timeout": 5000,
99
- "selectedDatapoints": [],
100
- "importedDatapoints": []
84
+ "native": {
85
+ "host": "",
86
+ "port": 80,
87
+ "username": "",
88
+ "password": "",
89
+ "timeout": 5000,
90
+ "selectedDatapoints": [],
91
+ "importedDatapoints": []
92
+ },
93
+ "objects": [],
94
+ "instanceObjects": [
95
+ {
96
+ "_id": "info",
97
+ "type": "channel",
98
+ "common": {
99
+ "name": "Information"
100
+ },
101
+ "native": {}
101
102
  },
102
- "objects": [],
103
- "instanceObjects": [
104
- {
105
- "_id": "info",
106
- "type": "channel",
107
- "common": { "name": "Information" },
108
- "native": {}
109
- },
110
- {
111
- "_id": "info.connection",
112
- "type": "state",
113
- "common": {
114
- "name": "Verbindungsstatus",
115
- "type": "boolean",
116
- "role": "indicator.connected",
117
- "read": true,
118
- "write": false,
119
- "def": false
120
- },
121
- "native": {}
122
- }
123
- ]
124
- }
103
+ {
104
+ "_id": "info.connection",
105
+ "type": "state",
106
+ "common": {
107
+ "name": "Verbindungsstatus",
108
+ "type": "boolean",
109
+ "role": "indicator.connected",
110
+ "read": true,
111
+ "write": false,
112
+ "def": false
113
+ },
114
+ "native": {}
115
+ }
116
+ ]
117
+ }
@@ -1,9 +1,14 @@
1
1
  'use strict';
2
2
 
3
- //import { rejects } from 'assert';
3
+ import { adapter } from '@iobroker/adapter-core';
4
+ //import { adapter, Credentials } from '@iobroker/adapter-core';
5
+ //import { secureHeapUsed } from 'node:crypto';
4
6
 
5
- const http = require('http');
6
- const https = require('https');
7
+ //import { rejects } from 'assert';
8
+ import http from 'node:http';
9
+ import https from 'node:https';
10
+ // const http = require('http');
11
+ // const https = require('https');
7
12
  //const axios = require('axios');
8
13
 
9
14
  /**
@@ -57,13 +62,13 @@ class CanApiClient {
57
62
  * @param {object[]} datapoints
58
63
  * @returns {Promise<Array<{id, value, raw}>>}
59
64
  */
60
- async readDatapoints(datapoints) {
65
+ async readDatapoints(datapoints, adapter_loc) {
61
66
  // Maximal 6 Datenpunkte pro Request
62
67
  const chunks = this._chunkArray(datapoints, 6);
63
68
  const results = [];
64
69
 
65
70
  for (const chunk of chunks) {
66
- const chunkResults = await this._sendRequest(chunk);
71
+ const chunkResults = await this._sendRequest(chunk, adapter_loc);
67
72
  results.push(...chunkResults);
68
73
  }
69
74
 
@@ -121,19 +126,22 @@ class CanApiClient {
121
126
  };
122
127
 
123
128
  // HTTP-Authentifizierung
124
- if (this.username && this.password) {
125
- const auth = Buffer.from(`${this.username}:${this.password}`).toString('base64');
129
+ // const jep = Credentials.listCredentials('wem-canapi.0');
130
+ // const cred = Credentials.getCredentials(adapter, 'password');
131
+ const tmppas = this.password;
132
+ if (this.username && tmppas) {
133
+ const auth = Buffer.from(`${this.username}:${tmppas}`).toString('base64');
126
134
  options.headers['Authorization'] = `Basic ${auth}`;
127
135
  }
128
136
 
129
137
  const lib = this.port === 443 ? https : http;
130
138
 
131
139
  const req = lib.request(options, res => {
132
- // let data = '';
140
+ let data = '';
133
141
 
134
- // res.on('data', chunk => {
135
- // data += chunk;
136
- // });
142
+ res.on('data', chunk => {
143
+ data += chunk;
144
+ });
137
145
 
138
146
  res.on('end', () => {
139
147
  if (res.statusCode >= 200 && res.statusCode < 300) {
@@ -168,8 +176,8 @@ class CanApiClient {
168
176
  // ─────────────────────────────────────────────────────────────
169
177
  // Private Methoden
170
178
  // ─────────────────────────────────────────────────────────────
171
- async _sleep(milliseconds) {
172
- return new Promise(resolve => setTimeout(resolve, milliseconds));
179
+ async _sleep(milliseconds, adapter_loc) {
180
+ return new Promise(resolve => adapter_loc.setTimeout(resolve, milliseconds));
173
181
  }
174
182
  /**
175
183
  * Sendet einen Lese-Request für eine Gruppe von Datenpunkten
@@ -177,13 +185,13 @@ class CanApiClient {
177
185
  * @param {object[]} datapoints
178
186
  * @returns {Promise<Array<{id, value, raw}>>}
179
187
  */
180
- async _sendRequest(datapoints) {
188
+ async _sendRequest(datapoints, adapter_loc) {
181
189
  const payload = this._buildPayload(datapoints, false);
182
190
 
183
191
  try {
184
192
  const responseText = await this._httpPost(payload);
185
193
  const resp = await this._parseResponse(responseText, datapoints);
186
- await this._sleep(200);
194
+ await this._sleep(200, adapter_loc); // 200ms Pause zwischen den Requests
187
195
  return resp;
188
196
  } catch (e) {
189
197
  this.log.error(`[CanAPI] Request-Fehler: ${e.message}`);
@@ -264,7 +272,7 @@ class CanApiClient {
264
272
  };
265
273
 
266
274
  const rawHex = this._toHex(rawValue & bits[bitescount], bitescount);
267
- return `02${dpadress}${rawHex}`;
275
+ return `03${dpadress}${rawHex}`;
268
276
 
269
277
  // Funktion Code für Schreiben:
270
278
  // FC 06 = Write Single Register
@@ -328,7 +336,7 @@ class CanApiClient {
328
336
  return results;
329
337
  }
330
338
 
331
- _splitResponse(response) {
339
+ _splitResponse(response, dp) {
332
340
  const sizes = [2, 2, 2, 4, 2, 4];
333
341
  const result = [];
334
342
  let i = 0;
@@ -346,6 +354,11 @@ class CanApiClient {
346
354
  if (count === 2 && raw > 2147483647) raw -= 4294967296; */
347
355
 
348
356
  this.log.debug(`Spit result Hex${result[6]}`);
357
+ if (result[0] === '05') {
358
+ this.log.warn(
359
+ `Fehlercode ${dp.deviceName} ${dp.pointName}: ${result[1]}${result[2]}${result[3]}${result[4]}${result[5]}`,
360
+ );
361
+ }
349
362
 
350
363
  return result[0] === '05' ? 0 : parseInt(result[6], 16);
351
364
  }
@@ -359,7 +372,7 @@ class CanApiClient {
359
372
  }
360
373
 
361
374
  // Hex → Integer
362
- let raw = this._splitResponse(rawHex);
375
+ let raw = this._splitResponse(rawHex, dp);
363
376
 
364
377
  // Sonderfall Boolean
365
378
  if ((dp.ioType || '').toLowerCase() === 'boolean') {
@@ -469,4 +482,5 @@ class CanApiClient {
469
482
  }
470
483
  }
471
484
 
472
- module.exports = CanApiClient;
485
+ // module.exports = CanApiClient;
486
+ export default CanApiClient;
package/main.js CHANGED
@@ -3,19 +3,22 @@
3
3
  /*
4
4
  * Created with @iobroker/create-adapter v3.1.5
5
5
  */
6
-
6
+ // const CanApiClient = require('./lib/canApiClient');
7
+ import CanApiClient from './lib/canApiClient.js';
7
8
  // The adapter-core module gives you access to the core ioBroker functions
8
9
  // you need to create an adapter
9
- const utils = require('@iobroker/adapter-core');
10
- const CanApiClient = require('./lib/canApiClient');
11
- const CsvParser = require('./lib/csvParser');
10
+ //const utils = require('@iobroker/adapter-core');
11
+
12
+ import { Adapter } from '@iobroker/adapter-core';
13
+ // const CsvParser = require('./lib/csvParser');
14
+ import CsvParser from './lib/csvParser.js';
12
15
 
13
16
  // Load your modules here, e.g.:
14
17
  // const fs = require('fs');
15
18
 
16
- class WemCanapi extends utils.Adapter {
19
+ class WemCanapi extends Adapter {
17
20
  /**
18
- * @param {Partial<utils.AdapterOptions>} [options] - Adapter options
21
+ * @param {import('@iobroker/adapter-core').AdapterOptions} [options] - Adapter options
19
22
  */
20
23
  constructor(options) {
21
24
  super({
@@ -77,6 +80,7 @@ class WemCanapi extends utils.Adapter {
77
80
  });
78
81
 
79
82
  // Verbindung testen
83
+ //const testpwd = this.config.password;
80
84
  const ok = await this.client.testConnection();
81
85
  await this.setState('info.connection', ok, true);
82
86
 
@@ -351,14 +355,17 @@ class WemCanapi extends utils.Adapter {
351
355
  const state = await this.getStateAsync('info.syncrunnig');
352
356
  const now = Date.now();
353
357
  //Reset Running State if havent bin runnig for 5 min
358
+ // @ts-expect-error Fix false was schief geht
354
359
  if (state?.ts + 300000 <= now) {
355
360
  isrunning = false;
356
361
  } else {
362
+ // @ts-expect-error Fix false was schief geht
357
363
  isrunning = state?.val;
358
364
  }
359
365
  if (!isrunning) {
360
366
  await this.setState('info.syncrunnig', true, true);
361
- const results = await this.client.readDatapoints(datapoints);
367
+ // @ts-expect-error Client null breits abgefangen
368
+ const results = await this.client.readDatapoints(datapoints, this);
362
369
 
363
370
  let anyOk = false;
364
371
 
@@ -392,13 +399,15 @@ class WemCanapi extends utils.Adapter {
392
399
  }
393
400
  }
394
401
 
395
- if (require.main !== module) {
396
- // Export the constructor in compact mode
397
- /**
398
- * @param {Partial<utils.AdapterOptions>} [options] - Adapter options
399
- */
400
- module.exports = options => new WemCanapi(options);
401
- } else {
402
- // otherwise start the instance directly
403
- new WemCanapi();
404
- }
402
+ export default new WemCanapi();
403
+
404
+ // if (require.main !== module) {
405
+ // // Export the constructor in compact mode
406
+ // /**
407
+ // * @param {Partial<utils.AdapterOptions>} [options] - Adapter options
408
+ // */
409
+ // module.exports = options => new WemCanapi(options);
410
+ // } else {
411
+ // // otherwise start the instance directly
412
+ // new WemCanapi();
413
+ // }
package/package.json CHANGED
@@ -1,84 +1,84 @@
1
1
  {
2
- "name": "iobroker.wem-canapi",
3
- "version": "0.0.1",
4
- "description": "Get Values directly from the Weishaupt devices via CanAPI",
5
- "author": "TanteJoe <github@schubel.info>",
6
- "homepage": "https://github.com/TanteJoe/ioBroker.wem-canapi",
7
- "license": "MIT",
8
- "keywords": [
9
- "WEM",
10
- "Weishaupt",
11
- "CanAPI",
12
- "ioBroker"
13
- ],
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/TanteJoe/ioBroker.wem-canapi.git"
17
- },
18
- "engines": {
19
- "node": ">= 22"
20
- },
21
- "dependencies": {
22
- "@iobroker/adapter-core": "^3.4.3"
23
- },
24
- "devDependencies": {
25
- "@alcalzone/release-script": "^5.2.1",
26
- "@alcalzone/release-script-plugin-iobroker": "^5.2.0",
27
- "@alcalzone/release-script-plugin-license": "^5.2.2",
28
- "@alcalzone/release-script-plugin-manual-review": "^5.2.0",
29
- "@emotion/react": "^11.14.0",
30
- "@emotion/styled": "^11.14.0",
31
- "@iobroker/adapter-dev": "^1.5.0",
32
- "@iobroker/adapter-react-v5": "^7.5.0",
33
- "@iobroker/dev-server": "^0.8.0",
34
- "@iobroker/eslint-config": "^2.3.4",
35
- "@iobroker/testing": "^5.1.0",
36
- "@mui/material": "^7.0.0",
37
- "@tsconfig/node22": "^22.0.0",
38
- "@types/node": "^22.0.0",
39
- "@types/react": "^18.0.0",
40
- "@types/react-dom": "^18.0.0",
41
- "@vitejs/plugin-react": "^4.0.0",
42
- "react": "^18.0.0",
43
- "react-dom": "^18.0.0",
44
- "typescript": "~5.7.2",
45
- "vite": "^6.0.0"
46
- },
47
- "main": "main.js",
48
- "files": [
49
- "admin/build/",
50
- "admin/index_m.html",
51
- "admin/index.js",
52
- "admin/index.css",
53
- "admin/canapi.csv",
54
- "admin/wem-canapi.png",
55
- "lib/",
56
- "io-package.json",
57
- "LICENSE",
58
- "main.js"
59
- ],
60
- "scripts": {
61
- "build": "cd admin && npm run build && cd .. && node scripts/sync.mjs",
62
- "watch": "cd admin && npm run watch",
63
- "sync": "node scripts/sync.mjs",
64
- "test:js": "mocha --config test/mocharc.custom.json \"{!(node_modules|test)/**/*.test.js,*.test.js,test/**/test!(PackageFiles|Startup).js}\"",
65
- "test:package": "mocha test/package --exit",
66
- "test:integration": "mocha test/integration --exit",
67
- "test": "npm run test:js && npm run test:package",
68
- "lint": "eslint -c eslint.config.mjs .",
69
- "translate": "translate-adapter",
70
- "release": "release-script",
71
- "release-patch": "release-script patch --yes",
72
- "release-minor": "release-script minor --yes",
73
- "release-major": "release-script major --yes",
74
- "dev-server": "dev-server watch --no-start",
75
- "dev-debug": "dev-server debug --wait --no-start"
76
- },
77
- "bugs": {
78
- "url": "https://github.com/TanteJoe/ioBroker.wem-canapi/issues"
79
- },
80
- "directories": {
81
- "lib": "lib",
82
- "test": "test"
83
- }
2
+ "name": "iobroker.wem-canapi",
3
+ "version": "0.0.3",
4
+ "description": "Get Values directly from the Weishaupt devices via CanAPI",
5
+ "author": "TanteJoe <github@schubel.info>",
6
+ "homepage": "https://github.com/TanteJoe/ioBroker.wem-canapi",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "WEM",
10
+ "Weishaupt",
11
+ "CanAPI",
12
+ "ioBroker"
13
+ ],
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/TanteJoe/ioBroker.wem-canapi.git"
17
+ },
18
+ "engines": {
19
+ "node": ">= 22"
20
+ },
21
+ "dependencies": {
22
+ "@iobroker/adapter-core": "^3.4.3"
23
+ },
24
+ "devDependencies": {
25
+ "@alcalzone/release-script": "^5.2.1",
26
+ "@alcalzone/release-script-plugin-iobroker": "^5.2.0",
27
+ "@alcalzone/release-script-plugin-license": "^5.2.2",
28
+ "@alcalzone/release-script-plugin-manual-review": "^5.2.0",
29
+ "@emotion/react": "^11.14.0",
30
+ "@emotion/styled": "^11.14.0",
31
+ "@iobroker/adapter-dev": "^1.5.0",
32
+ "@iobroker/adapter-react-v5": "^7.5.0",
33
+ "@iobroker/dev-server": "^0.8.0",
34
+ "@iobroker/eslint-config": "^2.3.4",
35
+ "@iobroker/testing": "^6.3.0",
36
+ "@mui/material": "^7.0.0",
37
+ "@tsconfig/node22": "^22.0.7",
38
+ "@types/node": "^22.0.0",
39
+ "@types/react": "^18.0.0",
40
+ "@types/react-dom": "^18.0.0",
41
+ "@vitejs/plugin-react": "^4.0.0",
42
+ "react": "^18.0.0",
43
+ "react-dom": "^18.0.0",
44
+ "typescript": "~5.7.2",
45
+ "vite": "^6.0.0"
46
+ },
47
+ "main": "main.js",
48
+ "files": [
49
+ "admin/build/",
50
+ "admin/index_m.html",
51
+ "admin/index.js",
52
+ "admin/index.css",
53
+ "admin/canapi.csv",
54
+ "admin/wem-canapi.png",
55
+ "lib/",
56
+ "io-package.json",
57
+ "LICENSE",
58
+ "main.js"
59
+ ],
60
+ "scripts": {
61
+ "build": "cd admin && npm run build && cd .. && node scripts/sync.mjs",
62
+ "watch": "cd admin && npm run watch",
63
+ "sync": "node scripts/sync.mjs",
64
+ "test:js": "mocha --config test/mocharc.custom.json \"{!(node_modules|test)/**/*.test.js,*.test.js,test/**/test!(PackageFiles|Startup).js}\"",
65
+ "test:package": "mocha test/package --exit",
66
+ "test:integration": "mocha test/integration --exit",
67
+ "test": "npm run test:js && npm run test:package",
68
+ "lint": "eslint -c eslint.config.mjs .",
69
+ "translate": "translate-adapter",
70
+ "release": "release-script",
71
+ "release-patch": "release-script patch --yes",
72
+ "release-minor": "release-script minor --yes",
73
+ "release-major": "release-script major --yes",
74
+ "dev-server": "dev-server watch --no-start",
75
+ "dev-debug": "dev-server debug --wait --no-start"
76
+ },
77
+ "bugs": {
78
+ "url": "https://github.com/TanteJoe/ioBroker.wem-canapi/issues"
79
+ },
80
+ "directories": {
81
+ "lib": "lib",
82
+ "test": "test"
83
+ }
84
84
  }
File without changes