UNPKG

@lucavb/shellies-ds9

Version:

Handles communication with the next generation of Shelly devices

99 lines (98 loc) 2.85 kB
{ "name": "@lucavb/shellies-ds9", "version": "1.1.9", "description": "Handles communication with the next generation of Shelly devices", "keywords": [ "shelly", "shellies", "iot", "smart-home", "home-automation", "websocket", "rpc", "device-control", "allterco", "mqtt", "automation", "smart-switch", "smart-plug", "dimmer", "relay", "esp32", "home-assistant" ], "homepage": "https://github.com/lucavb/node-shellies-ds9#readme", "bugs": { "url": "https://github.com/lucavb/node-shellies-ds9/issues" }, "repository": { "type": "git", "url": "git+https://github.com/lucavb/node-shellies-ds9.git" }, "license": "GPL-3.0", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist/**/*" ], "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts --clean --sourcemap", "cq:all": "npm run cq:tsc && npm run cq:eslint && npm run cq:prettier", "cq:eslint": "eslint \"src/**/*.{ts,js}\" --max-warnings=0", "cq:eslint:fix": "eslint \"src/**/*.{ts,js}\" --fix", "cq:prettier": "prettier --check \"src/**/*.{ts,js,json}\"", "cq:prettier:fix": "prettier --write \"src/**/*.{ts,js,json}\"", "cq:tsc": "tsc --noEmit", "test": "vitest run", "test:ui": "vitest --ui", "test:watch": "vitest", "preversion": "npm run build && npm run cq:eslint && npm test", "postversion": "git push && git push --tags" }, "dependencies": { "@types/multicast-dns": "^7.2.4", "eventemitter3": "^5.0.1", "fast-deep-equal": "^3.1.3", "json-rpc-2.0": "^1.7.0", "multicast-dns": "^7.2.5", "ws": "8.18.2" }, "devDependencies": { "@eslint/js": "9.29.0", "@types/node": "24.0.3", "@vitest/ui": "3.2.4", "eslint": "9.29.0", "jiti": "2.4.2", "prettier": "3.6.0", "rimraf": "6.0.1", "tsup": "8.5.0", "typescript": "5.8.3", "typescript-eslint": "8.34.1", "vitest": "3.2.4" }, "publishConfig": { "access": "public" }, "authors": [ "Alexander Rydén", "David S.", { "name": "Luca Becker", "email": "hello@luca-becker.me", "url": "https://luca-becker.me" } ] }