UNPKG

kasa-smart-hub

Version:

Virtual Smart Hub for TP-Link Kasa Smart Home

93 lines (92 loc) 2.59 kB
{ "name": "kasa-smart-hub", "type": "module", "version": "3.0.1", "main": "lib/index.js", "preferGlobal": true, "bin": { "kasa-smart-hub": "./lib/index.js" }, "repository": { "type": "git", "url": "https://github.com/blackflux/kasa-smart-hub.git" }, "author": "Lukas Siemon", "license": "MIT", "devDependencies": { "@babel/core": "7.26.7", "@babel/eslint-parser": "7.26.5", "@babel/register": "7.25.9", "@blackflux/eslint-plugin-rules": "4.0.1", "@blackflux/robo-config-plugin": "10.0.1", "aqi-bot": "1.1.4", "c8": "10.1.3", "chai": "5.1.2", "eslint": "9.19.0", "eslint-config-airbnb-base": "15.0.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-json": "4.0.1", "eslint-plugin-markdown": "5.1.0", "eslint-plugin-mocha": "10.5.0", "js-gardener": "6.0.3", "node-tdd": "6.0.0", "tplink-smarthome-simulator": "5.0.1" }, "licenses": [ { "type": "MIT", "url": "https://github.com/blackflux/kasa-smart-hub/blob/master/LICENSE" } ], "description": "Virtual Smart Hub for TP-Link Kasa Smart Home", "keywords": [ "tplink", "kasa", "home", "smartplug", "smartswitch", "smartbulb", "api", "hub", "server", "smart", "actions", "smartactions" ], "files": [ "lib" ], "scripts": { "clean": "rm -rf lib", "build": "cp -rf ./src ./lib", "build-clean": "yarn run clean && yarn run build", "test-simple": "c8 mocha --import=./test/reg.js \"./test/**/*.spec.js\"", "test": "yarn run clean && yarn run gardener && yarn run test-simple", "docker": "docker run --net host -u`id -u`:`id -g` -v $(pwd):/user/project -v ~/.aws:/user/.aws -v ~/.npmrc:/user/.npmrc -w /user/project -it --entrypoint /bin/bash", "u": "yarn upgrade --latest --force", "i": "yarn install --frozen-lockfile", "it": "yarn run i && yarn run t", "t": "yarn test", "ts": "yarn run test-simple", "tsv": "yarn run test-simple --verbose", "semantic-release": "yarn run build-clean && yarn exec semantic-release", "gardener": "node gardener.js" }, "homepage": "https://github.com/blackflux/kasa-smart-hub#readme", "bugs": { "url": "https://github.com/blackflux/kasa-smart-hub/issues" }, "engines": { "node": ">= 20" }, "dependencies": { "@blackflux/axios": "3.0.0", "date-fns": "4.1.0", "date-fns-tz": "3.2.0", "joi-strict": "4.0.1", "object-scan": "20.0.1", "smart-fs": "5.0.1", "tplink-smarthome-api": "4.2.0", "yargs": "17.7.2" } }