commit 423f2229da8bbc8132e8c7703de2918bcbd0d588 Author: Koen Kanters Date: Mon Jun 16 20:30:42 2025 +0200 Initial diff --git a/package.json b/package.json new file mode 100644 index 00000000..ddbf31d0 --- /dev/null +++ b/package.json @@ -0,0 +1,101 @@ +{ + "name": "zigbee2mqtt", + "version": "2.4.0-dev", + "description": "Zigbee to MQTT bridge using Zigbee-herdsman", + "main": "index.js", + "types": "dist/types/api.d.ts", + "packageManager": "pnpm@10.12.1", + "repository": { + "type": "git", + "url": "git+https://github.com/Koenkk/zigbee2mqtt.git" + }, + "engines": { + "node": "^20 || ^22 || ^24" + }, + "keywords": [ + "xiaomi", + "tradfri", + "hue", + "bridge", + "zigbee", + "mqtt", + "cc2531" + ], + "scripts": { + "build": "tsc && node index.js writehash", + "build:watch": "tsc --watch", + "check": "biome check", + "check:w": "biome check --write", + "start": "node index.js", + "test": "vitest run --config ./test/vitest.config.mts", + "test:coverage": "vitest run --config ./test/vitest.config.mts --coverage", + "test:watch": "vitest watch --config ./test/vitest.config.mts", + "prepack": "pnpm run clean && pnpm run build", + "clean": "rimraf coverage dist tsconfig.tsbuildinfo" + }, + "author": "Koen Kanters", + "license": "GPL-3.0", + "bugs": { + "url": "https://github.com/Koenkk/zigbee2mqtt/issues" + }, + "homepage": "https://koenkk.github.io/zigbee2mqtt", + "dependencies": { + "ajv": "^8.17.1", + "bind-decorator": "^1.0.11", + "debounce": "^2.2.0", + "express-static-gzip": "^3.0.0", + "fast-deep-equal": "^3.1.3", + "finalhandler": "^2.1.0", + "humanize-duration": "^3.32.1", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "jszip": "^3.10.1", + "moment": "^2.30.1", + "mqtt": "^5.11.0", + "object-assign-deep": "^0.4.0", + "rimraf": "^6.0.1", + "semver": "^7.7.1", + "source-map-support": "^0.5.21", + "throttleit": "^2.1.0", + "winston": "^3.17.0", + "winston-syslog": "^2.7.1", + "winston-transport": "^4.9.0", + "ws": "^8.18.1", + "zigbee-herdsman": "4.1.2", + "zigbee-herdsman-converters": "23.59.0", + "zigbee2mqtt-frontend": "0.9.15", + "zigbee2mqtt-windfront": "^1.0.5" + }, + "devDependencies": { + "@biomejs/biome": "^1.9.4", + "@types/finalhandler": "^1.2.3", + "@types/humanize-duration": "^3.27.4", + "@types/js-yaml": "^4.0.9", + "@types/node": "^24.0.3", + "@types/object-assign-deep": "^0.4.3", + "@types/readable-stream": "4.0.21", + "@types/serve-static": "^1.15.7", + "@types/ws": "8.18.1", + "@vitest/coverage-v8": "^3.1.1", + "tmp": "^0.2.3", + "typescript": "^5.8.3", + "vitest": "^3.1.1" + }, + "pnpm": { + "overrides": { + "zigbee-herdsman": "$zigbee-herdsman" + }, + "onlyBuiltDependencies": [ + "@biomejs/biome", + "@serialport/bindings-cpp", + "esbuild", + "unix-dgram" + ] + }, + "bin": { + "zigbee2mqtt": "cli.js" + }, + "optionalDependencies": { + "unix-dgram": "^2.0.6" + } +} \ No newline at end of file