UNPKG

homebridge-cmd4-advantageair

Version:

Catered shell script to integrate air conditioner control units by Advantage Air

90 lines (89 loc) 3.19 kB
{ "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.12.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", "funding": [ { "type": "paypal", "url": "https://www.paypal.com/donate/?business=FWN5P4BP7NJT4&no_recurring=1&item_name=Shout+me+a+coffee+%3A%29&currency_code=AUD" } ], "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": "^17.6.7", "@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.8.0 || ^2.0.0-beta.0", "node": "^18.20.4 || ^20.18.0 || ^22.10.0" }, "keywords": [ "Cmd4", "AdvantageAir", "e-zone", "MyAir", "MyAir4", "MyPlace", "zone10e", "Fujitsu", "anywAIR", "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": "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 }}'" } }