-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
189 lines (189 loc) · 6.02 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
"name": "@ptweety/node-red-contrib-ccu",
"version": "3.6.2",
"license": "MIT",
"main": "none",
"keywords": [
"node-red",
"homematic",
"ccu",
"bidcos",
"cuxd",
"smart home automation",
"eq-3"
],
"author": {
"name": "ptweety (Matthias)",
"email": "[email protected]"
},
"bugs": {
"url": "https://github.com/ptweety/node-red-contrib-ccu/issues"
},
"contributors": [
{
"name": "Sebastian Raff",
"email": "[email protected]"
},
{
"name": "Hypnos3",
"email": "[email protected]"
},
{
"name": "psi-4ward",
"email": "[email protected]"
},
{
"name": "Timo Wendt https://github.com/twendt"
},
{
"name": "Konrad Mattheis https://github.com/konne"
},
{
"name": "Simon Christmann https://github.com/dersimn",
"email": "[email protected]"
},
{
"name": "Konrni https://github.com/Konrni"
},
{
"name": "Bjo-Frei https://github.com/bjo-frei"
},
{
"name": "Sineos https://github.com/Sineos"
}
],
"dependencies": {
"binrpc": "^3.3.1",
"homematic-rega": "^1.5.2",
"homematic-xmlrpc": "^1.0.2",
"obj-ease": "^1.0.1",
"string-similarity": "^4.0.4"
},
"deprecated": false,
"description": "Node-RED Nodes for the Homematic CCU",
"devDependencies": {
"auto-changelog": "^2.4.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-promise": "^6.1.0",
"hm-simulator": "^0.1.1",
"husky": "^8.0.1",
"mocha": "^10.1.0",
"node-red": "^3.0.2",
"node-red-node-test-helper": "^0.3.0",
"should": "^13.2.3",
"xo": "^0.52.4"
},
"engines": {
"node": ">= 14.0.0"
},
"homepage": "https://github.com/ptweety/node-red-contrib-ccu#readme",
"node-red": {
"version": ">=1.0.0",
"nodes": {
"ccu-connection": "nodes/ccu-connection.js",
"ccu-value": "nodes/ccu-value.js",
"ccu-rpc-event": "nodes/ccu-rpc-event.js",
"ccu-set-value": "nodes/ccu-set-value.js",
"ccu-rpc": "nodes/ccu-rpc.js",
"ccu-signal": "nodes/ccu-signal.js",
"ccu-display": "nodes/ccu-display.js",
"ccu-sysvar": "nodes/ccu-sysvar.js",
"ccu-program": "nodes/ccu-program.js",
"ccu-script": "nodes/ccu-script.js",
"ccu-poll": "nodes/ccu-poll.js",
"ccu-get-value": "nodes/ccu-get-value.js",
"ccu-switch": "nodes/ccu-switch.js",
"ccu-hm2mqtt": "nodes/ccu-mqtt.js",
"ccu-alexa": "nodes/ccu-alexa.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/ptweety/node-red-contrib-ccu.git"
},
"scripts": {
"checkgit": "([[ $(git rev-parse --abbrev-ref HEAD) == \"main\" ]] && git diff --exit-code && git diff --cached --exit-code && git diff --exit-code origin/main..main)",
"build:nodehtml": "node ./build-nodehtml.js",
"lintfix": "xo --fix",
"lintonly": "xo",
"version": "auto-changelog -p && git add CHANGELOG.md",
"postversion": "git push origin --all && git push origin --no-verify --tags && npm publish --access public",
"prepublishOnly": "npm run checkgit --silent",
"test": "xo && npx c8 --check-coverage --lines 50 npm run testonly",
"testcov": "npx c8 --check-coverage --lines 50 npm run testonly",
"testonly": "mocha \"test/**/*_spec.js\" --exit",
"prepare": "husky install",
"debug": "node --nolazy --inspect ./node_modules/node-red/red.js -s ../.node-red/settings.js -u ../.node-red",
"start": "node ./node_modules/node-red/red.js -s ../.node-red/settings.js -u ../.node-red",
"update": "npx npm-check-updates -u && npm install"
},
"auto-changelog": {
"template": "compact",
"startingVersion": "v3.5.0",
"hideCredit": true,
"sortCommits": "date-desc",
"commitLimit": false
},
"xo": {
"space": 4,
"envs": [
"node",
"jquery",
"mocha",
"es2020"
],
"plugins": [
"html",
"promise"
],
"globals": [
"RED"
],
"extensions": [
"js",
"html"
],
"rules": {
"promise/catch-or-return": [
"off",
{
"allowThen": true,
"allowFinally": true
}
],
"no-template-curly-in-string": "warn",
"camelcase": "warn",
"capitalized-comments": 0,
"spaced-comment": 0,
"unicorn/catch-error-name": "warn",
"unicorn/prefer-string-slice": "warn",
"valid-jsdoc": 0,
"eslint-comments/no-unused-disable": 0,
"promise/prefer-await-to-then": 0,
"prefer-object-spread": "warn",
"unicorn/prefer-number-properties": "warn",
"unicorn/no-reduce": "warn",
"complexity": [
"warn",
40
],
"no-bitwise": "warn",
"no-warning-comments": "warn",
"prefer-arrow-callback": "warn",
"unicorn/better-regex": "warn",
"unicorn/filename-case": "warn",
"unicorn/no-array-for-each": "warn",
"unicorn/no-array-reduce": "warn",
"unicorn/no-lonely-if": "warn",
"unicorn/no-this-assignment": "warn",
"unicorn/prefer-query-selector": "warn",
"unicorn/prefer-module": 0,
"unicorn/prefer-spread": "warn",
"unicorn/prefer-switch": "warn"
},
"ignore": [
".node-red/**/*",
"paramsets-join.js"
]
}
}