forked from mitch7391/homebridge-cmd4-AdvantageAir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.9 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
{
"name": "homebridge-cmd4-advantageair",
"displayName": "Homebridge Cmd4 Advantage Air",
"description": "Catered shell script to integrate air conditioner control units by Advantage Air",
"license": "MIT",
"version": "3.4.0",
"author": {
"name": "Mitch Williams"
},
"repository": {
"type": "git",
"url": "git://github.com/mitch7391/homebridge-cmd4-advantageair.git"
},
"homepage": "https://github.com/mitch7391/homebridge-cmd4-advantageair#readme",
"dependencies": {
"@homebridge/plugin-ui-utils": "^0.0.19",
"chalk": "^4.1.2",
"child_process": "^1.0.2",
"command-exists": "^1.2.9",
"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",
"husky": "^7.0.4",
"mocha": "^9.1.3",
"onchange": "^7.1.0",
"shellcheck": "^1.0.0",
"sinon": "^12.0.1",
"watch": "^0.13.0"
},
"directories": {
"homebridge-ui": "homebridge-ui",
"test": "test",
"tools": "tools",
"Screenshots": "Screenshots",
"Config_Samples": "Config_Samples"
},
"engines": {
"homebridge": ">=1.2.5",
"node": "^14.18.2 || ^16.13.1"
},
"keywords": [
"Cmd4",
"AdvantageAir",
"e-zone",
"MyAir",
"MyAir3",
"MyAir4",
"MyPlace",
"zone10e",
"bash",
"shell",
"homebridge",
"plugin",
"homebridge-plugin"
],
"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 AdvAir.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": "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 }}'",
"prepare": "husky install"
}
}