@webarray/esphome-native-api
Version:
TypeScript/Node.js client for ESPHome native API with encryption and deep sleep support
92 lines (91 loc) • 2.39 kB
JSON
{
"name": "@webarray/esphome-native-api",
"version": "1.0.1",
"description": "TypeScript/Node.js client for ESPHome native API with encryption and deep sleep support",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build": "tsc && npm run copy-proto",
"copy-proto": "cp src/proto/api.js dist/proto/ && cp src/proto/api.d.ts dist/proto/",
"proto:generate": "node scripts/generate-proto.js",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"prepublishOnly": "npm run build"
},
"keywords": [
"esphome",
"home-automation",
"iot",
"api",
"protobuf",
"smart-home",
"esp32",
"esp8266",
"home-assistant",
"native-api",
"mdns",
"device-discovery",
"encryption",
"noise-protocol",
"deep-sleep",
"typescript"
],
"author": "Lex Ruesink",
"license": "MIT",
"dependencies": {
"@noble/ciphers": "^2.0.1",
"@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1",
"@richardhopton/noise-c.wasm": "^0.5.0",
"bonjour-service": "^1.2.1",
"debug": "^4.3.4",
"eventemitter3": "^5.0.1",
"p-queue": "^7.3.0",
"p-retry": "^5.1.2",
"protobufjs": "^7.2.5",
"varint": "^6.0.0"
},
"devDependencies": {
"@types/debug": "^4.1.8",
"@types/jest": "^29.5.5",
"@types/node": "^16.18.0",
"@types/varint": "^6.0.1",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"protobufjs-cli": "^1.1.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"files": [
"dist/**/*",
"examples/**/*.js",
"examples/README.md",
"README.md",
"LICENSE",
"DEEP_SLEEP.md"
],
"repository": {
"type": "git",
"url": "https://github.com/lruesink/esphomeapi.git"
},
"bugs": {
"url": "https://github.com/lruesink/esphomeapi/issues"
},
"homepage": "https://github.com/lruesink/esphomeapi#readme",
"publishConfig": {
"access": "public"
}
}