-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
130 lines (130 loc) · 7.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "matterbridge-shelly",
"version": "1.1.5",
"description": "Matterbridge shelly plugin",
"author": "https://github.com/Luligu",
"license": "Apache-2.0",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/Luligu/matterbridge-shelly.git"
},
"bugs": {
"url": "https://github.com/Luligu/matterbridge-shelly/issues"
},
"funding": {
"type": "buymeacoffee",
"url": "https://www.buymeacoffee.com/luligugithub"
},
"keywords": [
"shelly",
"matterbridge",
"homebridge",
"bridge",
"plugin",
"frontend",
"matterbridge",
"matter.js",
"matter-node.js",
"matter",
"matterprotocol",
"iot",
"smarthome",
"connectedthings",
"hap",
"homekit",
"siri",
"google-home",
"alexa",
"homeassistant",
"smartthings",
"ewelink"
],
"engines": {
"node": ">=18.0.0 <19.0.0 || >=20.0.0 <21.0.0 || >=22.0.0 <23.0.0"
},
"scripts": {
"build": "tsc",
"buildProduction": "tsc --project tsconfig.production.json",
"watch": "tsc --watch",
"start": "matterbridge",
"start:bridge": "matterbridge -bridge",
"start:childbridge": "matterbridge -childbridge",
"test": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:verbose": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --verbose",
"test:watch": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
"test:coverage": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"test:index": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js index.test.ts --detectOpenHandles --coverage",
"test:platform": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js platform.test.ts --detectOpenHandles --coverage",
"test:auth": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/auth.test.ts --coverage",
"test:mdns": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/mdnsScanner.test.ts --verbose --coverage",
"test:coap": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/coapServer.test.ts --verbose --coverage",
"test:mcast": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/mcastServer.test.ts --verbose --coverage",
"test:wsClient": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/wsClient.test.ts --verbose --coverage",
"test:wsServer": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/wsServer.test.ts --verbose --coverage",
"test:shelly": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/shelly.test.ts --verbose --coverage",
"test:shellyProperty": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyProperty.test.ts --verbose --coverage",
"test:shellyComponent": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyComponent.test.ts --verbose --coverage",
"test:shellyDevice": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyDevice.test.ts --runInBand --detectOpenHandles --verbose --coverage",
"test:shellyDevice:all": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyDevice.test.ts src/shellyDevice.mock.test.ts --runInBand --detectOpenHandles --verbose --coverage",
"test:mock": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyDevice.mock.test.ts --runInBand --detectOpenHandles --verbose --coverage",
"test:real": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyDevice.real.test.ts --runInBand --detectOpenHandles --verbose --coverage",
"test:real1": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyDevice.realgen1.test.ts --runInBand --detectOpenHandles --verbose --coverage",
"test:real2": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyDevice.realgen2.test.ts --runInBand --detectOpenHandles --verbose --coverage",
"test:real3": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyDevice.realgen3.test.ts --runInBand --detectOpenHandles --verbose --coverage",
"lint": "eslint --max-warnings=0 .",
"lint:fix": "eslint --fix --max-warnings=0 .",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"clean": "npx rimraf tsconfig.tsbuildinfo ./dist",
"cleanBuild": "npm run clean && npm run build",
"deepClean": "npx rimraf tsconfig.tsbuildinfo package-lock.json npm-shrinkwrap.json ./dist ./node_modules",
"deepCleanBuild": "npm run deepClean && npm install && npm link matterbridge && npm run build",
"checkDependencies": "npx npm-check-updates",
"updateDependencies": "npx npm-check-updates -u && npm run deepCleanBuild",
"prepublishOnly": "npm run cleanBuildProduction && npm pkg delete devDependencies scripts types && npx rimraf ./node_modules && npm install --omit=dev && npm shrinkwrap",
"npmPack": "copy package.json package.log && npm run prepublishOnly && npm pack && copy package.log package.json && npm run deepCleanBuild",
"npmPublishTagDev": "copy package.json package.log && npm run prepublishOnly && npm publish --tag dev && copy package.log package.json && npm run deepCleanBuild",
"npmPublishTagLatest": "copy package.json package.log && npm run prepublishOnly && npm publish --tag latest && copy package.log package.json && npm run deepCleanBuild",
"matterbridge:add": "matterbridge -add .\\",
"matterbridge:remove": "matterbridge -remove .\\",
"matterbridge:enable": "matterbridge -enable .\\",
"matterbridge:disable": "matterbridge -disable .\\",
"matterbridge:list": "matterbridge -list",
"dev:link": "npm link matterbridge",
"dev:unlink": "npm unlink matterbridge",
"install:dependencies": "npm install node-ansi-logger node-persist-manager coap multicast-dns node-fetch ws && npm install --save-dev @types/multicast-dns @types/ws",
"install:typescript": "npm install --save-dev typescript @types/node && npm run install && npm run build",
"install:eslint": "npm install --save-dev eslint @eslint/js @types/eslint__js typescript typescript-eslint",
"install:prettier": "npm install --save-dev prettier eslint-config-prettier eslint-plugin-prettier",
"install:jest": "npm install --save-dev jest ts-jest @types/jest eslint-plugin-jest",
"cleanBuildProduction": "npm run clean && npm run buildProduction"
},
"dependencies": {
"coap": "1.4.1",
"multicast-dns": "7.2.5",
"node-ansi-logger": "3.0.0",
"node-fetch": "3.3.2",
"node-persist-manager": "1.0.8",
"ws": "8.18.0"
},
"devDependencies": {
"@eslint/js": "9.19.0",
"@types/eslint__js": "8.42.3",
"@types/jest": "29.5.14",
"@types/multicast-dns": "7.2.4",
"@types/node": "22.13.0",
"@types/ws": "8.5.14",
"eslint": "9.19.0",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-jest": "28.11.0",
"eslint-plugin-prettier": "5.2.3",
"jest": "29.7.0",
"prettier": "3.4.2",
"ts-jest": "29.2.5",
"typescript": "5.7.3",
"typescript-eslint": "8.22.0"
}
}