UNPKG

tuyapi

Version:

An easy-to-use API for devices that use Tuya's cloud services

74 lines (73 loc) 1.68 kB
{ "name": "tuyapi", "version": "7.7.1", "description": "An easy-to-use API for devices that use Tuya's cloud services", "main": "index.js", "types": "index.d.ts", "files": [ "lib/**/*", "index.js", "index.d.ts" ], "scripts": { "lint": "xo", "test": "npx ava --concurrency 1 # Unfortunately have to do this so we don't try to bind to the same port multiple times", "coverage": "nyc npm test && nyc report --reporter=lcov", "document": "documentation build index.js -f html -o docs --config documentation.yml", "prepublishOnly": "npm test", "preversion": "npm test" }, "repository": { "type": "git", "url": "git+https://github.com/codetheweb/tuyapi.git" }, "keywords": [ "tuya", "iot", "plug", "jinvoo", "switch", "api", "socket", "protocol" ], "author": "Max Isom <codetheweb@icloud.com> (https://maxisom.me)", "license": "MIT", "bugs": { "url": "https://github.com/codetheweb/tuyapi/issues" }, "homepage": "https://github.com/codetheweb/tuyapi#readme", "dependencies": { "debug": "^4.4.0", "p-queue": "6.6.2", "p-retry": "4.6.2", "p-timeout": "3.2.0" }, "devDependencies": { "@tuyapi/stub": "0.3.0", "ava": "2.4.0", "clone": "2.1.2", "coveralls": "3.1.1", "delay": "4.4.1", "documentation": "^14.0.3", "nyc": "15.1.0", "xo": "0.25.4" }, "xo": { "space": true, "ignores": [ "docs" ], "rules": { "max-len": "off", "indent": [ "error", 2, { "ObjectExpression": "first", "ArrayExpression": "first" } ] } } }