-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 3.45 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
{
"name": "homebridge-bondbridge",
"displayName": "Homebridge BondBridge",
"description": "Catered shell script to integrate BondBridge units by Bond",
"license": "MIT",
"version": "2.2.8",
"author": {
"name": "Ung Sing Wong"
},
"repository": {
"type": "git",
"url": "https://github.com/uswong/homebridge-bondbridge.git"
},
"homepage": "https://github.com/uswong/homebridge-bondbridge#readme",
"changelog": "https://github.com/uswong/homebridge-bondbridge/blob/master/CHANGELOG.md",
"bugs": {
"url": "https://github.com/uswong/homebridge-bondbridge/issues",
"email": "uswong@gmail.com"
},
"dependencies": {
"@homebridge/plugin-ui-utils": "^0.0.19",
"chalk": "^4.1.2",
"child_process": "^1.0.2",
"command-exists": "^1.2.9",
"fakegato-history": ">=0.6.1",
"github-version-checker": ">=2.2.0",
"latest-version": "^5.1.0",
"moment": "*",
"path": "^0.12.7",
"which": "^2.0.2"
},
"devDependencies": {
"@commitlint/cli": "^16.1.0",
"@commitlint/config-conventional": "^16.0.0",
"background-eslint-hook": "^1.0.0",
"bats": "^1.5.0",
"bats-assert": "github:ztombol/bats-assert",
"bats-support": "github:ztombol/bats-support",
"chai": "^4.3.4",
"commander": "^9.0.0",
"commitlint-plugin-function-rules": "^1.6.0",
"eslint": "^8.1.0",
"generate-changelog": "^1.8.0",
"husky": "^7.0.4",
"markdown-link-check": "^3.8.6",
"mocha": "^9.1.3",
"node-persist": "^0.0.11",
"onchange": "^7.1.0",
"shellcheck": "^1.0.0",
"sinon": "^16.1.1",
"watch": "^0.13.0"
},
"directories": {
"Config_Samples": "Config_Samples",
"docs": "docs",
"homebridge-ui": "homebridge-ui",
"lib": "lib",
"Screenshots": "Screenshots",
"test": "test",
"tools": "tools"
},
"engines": {
"homebridge": "^1.8.0 || ^2.0.0-beta.0",
"node": "^18.20.4 || ^20.15.1 || ^22.10.0"
},
"keywords": [
"bash",
"Bond",
"BondBridge",
"Cmd4",
"door",
"exec",
"Eve",
"command",
"home",
"homebridge",
"homebridge-plugin",
"Homekit",
"light",
"plugin",
"security",
"shell",
"siri",
"switch",
"thermostat",
"temperature",
"virtual"
],
"scripts": {
"pre-commit": "npm run allBats && npm run testjs && npm run check && npm run lint",
"pretest": "if [ ! -d 'node_modules' ];then printf ' test is only done in a development environment\n';exit 1; fi",
"precheck": "if [ ! -d 'node_modules' ];then printf ' check is only done in a development environment\n';exit 1; fi",
"check": "shellcheck *.sh test/*.bats test/StartServer test/StopServer",
"testjs": "node_modules/.bin/mocha ",
"allBats": "a(){ npm run doBats test/StartServer test/*.bats test/StopServer; };a",
"doBats": "export PORT=2025; bats",
"bats": "a(){ npm run doBats test/StartServer $* test/StopServer; };a",
"batsDebug": "bats -x",
"lint": "npm run eslint",
"test": "npm run allBats && npm run testjs && npm run check && npm run lint",
"eslint": "eslint --ext .js *.js test/*.js homebridge-ui/server.js homebridge-ui/public/js/*.js",
"eslint:onchange": "./node_modules/onchange/dist/bin.js '.js' '*.js' 'test/*.js' 'homebridge-ui/server.js' 'homebridge-ui/public/js/*.js' -- ./tools/lintIt '{{ file }}'"
}
}