-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 5.6 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
{
"name": "matterbridge-shelly",
"version": "0.7.1",
"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": [
"matterbridge",
"homebridge",
"matter",
"matter.js",
"matterprotocol",
"iot",
"smarthome",
"connectedthings",
"tahoma",
"shelly"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc",
"watch": "tsc --watch",
"start:frontend": "matterbridge",
"start:bridge": "matterbridge -bridge",
"start:childbridge": "matterbridge -childbridge",
"start:mdns": "node dist/mdnsScanner.js mdnsScanner",
"start:coap": "node dist/coapServer.js coapDescription coapStatus coapServer",
"start:mcast": "node dist/mcastServer.js mcastServer mcastClient",
"start:ws": "node dist/wsClient.js startWsClient",
"start:shellyDevice": "node dist/shellyDevice.js startShelly",
"start:shelly": "node dist/shelly.js shelly",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:auth": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/auth.test.ts --coverage",
"test:mdns": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/mdnsScanner.test.ts --coverage",
"test:coap": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/coapServer.test.ts --coverage",
"test:mcast": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/mcastServer.test.ts --coverage",
"test:utils": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/utils.spec.ts --coverage",
"test:shellyProperty": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyProperty.test.ts --coverage",
"test:shellyComponent": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyComponent.test.ts --coverage",
"test:mock": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyDevice.mock.test.ts --coverage",
"test:real": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/shellyDevice.real.test.ts --coverage",
"test:shelly": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/shelly.test.ts --coverage",
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"test:verbose": "node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
"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": "rimraf tsconfig.tsbuildinfo ./dist",
"cleanBuild": "npm run clean && tsc",
"deepClean": "rimraf tsconfig.tsbuildinfo package-lock.json ./dist ./node_modules",
"deepCleanRebuild": "npm run deepClean && npm install && npm run build && npm ls inflight glob",
"prepublishOnly": "npm run lint && npm run cleanBuild",
"checkDependencies": "npx npm-check-updates",
"updateDependencies": "npx npm-check-updates -u && npm install & npm run cleanBuild",
"preversion": "npm run build && npm run lint",
"postversion": "git push && git push --tags",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"matterbridge:add": "matterbridge -add .\\",
"matterbridge:remove": "matterbridge -remove .\\",
"matterbridge:enable": "matterbridge -enable .\\",
"matterbridge:disable": "matterbridge -disable .\\",
"matterbridge:list": "matterbridge -list",
"dev:link": "npm link --save-dev matterbridge",
"dev:install": "npm install --save-dev matterbridge",
"dev:uninstall": "npm uninstall matterbridge && npm unlink matterbridge",
"install": "node link-matterbridge-script.js",
"install:dependencies": "npm install node-ansi-logger node-persist-manager coap multicast-dns node-fetch ws && npm install --save-dev rimraf @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/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"
},
"dependencies": {
"coap": "^1.4.0",
"multicast-dns": "^7.2.5",
"node-ansi-logger": "^1.9.5",
"node-fetch": "^3.3.2",
"node-persist-manager": "^1.0.7",
"rimraf": "^5.0.7",
"ws": "^8.18.0"
},
"devDependencies": {
"@eslint/js": "^9.6.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.12",
"@types/multicast-dns": "^7.2.4",
"@types/node": "^20.14.9",
"@types/ws": "^8.5.10",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"matterbridge": "file:../matterbridge",
"prettier": "^3.3.2",
"ts-jest": "^29.1.5",
"typescript": "^5.5.3",
"typescript-eslint": "^7.15.0"
},
"overrides": {
"eslint": "latest"
}
}