summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-03-29 06:53:53 +0800
committerZhineng Li <[email protected]>2026-03-29 06:53:53 +0800
commit256f19558f8ed5747c15c85f7e401835787504eb (patch)
tree1d879482c4945bd2b5d6fd94e60d831f6023d33c /package.json
downloadhomebridge-xiaomi-aircondition-ma2-256f19558f8ed5747c15c85f7e401835787504eb.tar.gz
homebridge-xiaomi-aircondition-ma2-256f19558f8ed5747c15c85f7e401835787504eb.zip
first commit
Diffstat (limited to 'package.json')
-rw-r--r--package.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..ab14ea4
--- /dev/null
+++ b/package.json
@@ -0,0 +1,48 @@
+{
+ "displayName": "Mijia Smart Air Conditioner C1 (1.5 HP/Inverter/Grade 1 Energy Efficiency)",
+ "name": "homebridge-xiaomi-aircondition-ma2",
+ "description": "Control the Mijia Smart Air Conditioner C1 on Apple Home.",
+ "keywords": [
+ "homebridge-plugin",
+ "xiaomi",
+ "air-conditioner"
+ ],
+ "version": "1.0.1",
+ "type": "module",
+ "license": "MIT",
+ "repository": {
+ "type": "git",
+ "url": "https://git.zhineng.li/homebridge-xiaomi-aircondition-ma2"
+ },
+ "main": "dist/index.js",
+ "files": [
+ "dist",
+ "config.schema.json",
+ "README",
+ "LICENSE"
+ ],
+ "engines": {
+ "node": "^20.18.0 || ^22.10.0 || ^24.0.0",
+ "homebridge": "^1.8.0"
+ },
+ "scripts": {
+ "build": "rimraf ./dist && tsc",
+ "lint": "eslint . --max-warnings=0",
+ "prepublishOnly": "npm run lint && npm run build",
+ "watch": "npm run build && npm link && nodemon"
+ },
+ "dependencies": {
+ "miio": "^0.15.6"
+ },
+ "devDependencies": {
+ "@eslint/js": "^9.39.1",
+ "@types/node": "^24.10.1",
+ "eslint": "^9.39.1",
+ "homebridge": "^1.11.3",
+ "nodemon": "^3.1.11",
+ "rimraf": "^6.1.0",
+ "ts-node": "^10.9.2",
+ "typescript": "^5.9.3",
+ "typescript-eslint": "^8.46.4"
+ }
+}