UNPKG

homebridge-bondbridge

Version:

Catered shell script to integrate BondBridge units by Bond

105 lines (104 loc) 3.54 kB
{ "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 }}'" } }