UNPKG

@switchbot/homebridge-switchbot

Version:

The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.

115 lines (114 loc) 3.31 kB
{ "name": "@switchbot/homebridge-switchbot", "displayName": "SwitchBot", "type": "module", "version": "4.3.1", "description": "The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.", "author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)", "contributors": [ { "name": "Donavan Becker", "url": "https://github.com/donavanbecker" } ], "license": "ISC", "funding": [ { "type": "Paypal", "url": "https://paypal.me/donavanbecker" }, { "type": "GitHub", "url": "https://github.com/sponsors/donavanbecker" } ], "homepage": "https://github.com/OpenWonderLabs/homebridge-switchbot#readme", "repository": { "type": "git", "url": "git://github.com/OpenWonderLabs/homebridge-switchbot.git" }, "bugs": { "url": "https://github.com/OpenWonderLabs/homebridge-switchbot/issues" }, "keywords": [ "homebridge-plugin", "switchbot", "lights", "fan", "outlet", "hub", "lightstrip", "motion", "contact", "vacuum", "lock", "humidifier", "humidity", "temperature", "bot", "curtains", "windows", "ble", "ir" ], "main": "dist/index.js", "icon": "https://raw.githubusercontent.com/OpenWonderLabs/homebridge-switchbot/latest/branding/icon.png", "engineStrict": true, "engines": { "homebridge": "^1.9.0 || ^2.0.0 || ^2.0.0-beta.23 || ^2.0.0-alpha.37", "node": "^20 || ^22" }, "scripts": { "check": "npm install && npm outdated", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "watch": "npm run build && npm run plugin-ui && npm link && nodemon", "plugin-ui": "rsync ./src/homebridge-ui/public/index.html ./dist/homebridge-ui/public/", "build": "npm run clean && tsc && npm run plugin-ui", "prepublishOnly": "npm run lint && npm run build && npm run plugin-ui && npm run docs && npm run docs:lint && npm run docs:theme", "postpublish": "npm run clean && npm ci", "clean": "shx rm -rf ./dist", "test": "vitest run", "test:watch": "vitest watch", "test-coverage": "npm run test -- --coverage", "docs": "typedoc", "docs:lint": "typedoc --emit none --treatWarningsAsErrors", "docs:theme": "typedoc --theme default-modern" }, "publishConfig": { "access": "public" }, "dependencies": { "@homebridge/plugin-ui-utils": "^2.0.1", "async-mqtt": "^2.6.3", "fakegato-history": "^0.6.5", "homebridge-lib": "^7.1.4", "node-switchbot": "^3.5.0", "rxjs": "^7.8.2" }, "devDependencies": { "@antfu/eslint-config": "^4.4.0", "@types/aes-js": "^3.1.4", "@types/debug": "^4.1.12", "@types/fs-extra": "^11.0.4", "@types/mdast": "^4.0.4", "@types/node": "^22.13.9", "@types/semver": "^7.5.8", "@types/source-map-support": "^0.5.10", "@typhonjs-typedoc/typedoc-theme-dmt": "^0.3.1", "@vitest/coverage-v8": "^3.0.7", "eslint": "^9.21.0", "eslint-plugin-format": "^1.0.1", "homebridge": "^1.9.0", "homebridge-config-ui-x": "4.71.2", "nodemon": "^3.1.9", "shx": "^0.3.4", "ts-node": "^10.9.2", "typedoc": "^0.27.9", "typescript": "^5.8.2", "vitest": "^3.0.7" }, "directories": { "doc": "docs" } }