UNPKG

yeelight-awesome

Version:

The node.js client api to control yeelight device over WIFI

102 lines (101 loc) 2.93 kB
{ "name": "yeelight-awesome", "version": "1.1.0", "description": "The node.js client api to control yeelight device over WIFI", "main": "lib/index.js", "typings": "lib/index.d.ts", "publisher": "Truong Nguyen", "scripts": { "test": "mocha -r ts-node/register test/*.test.ts --timeout 120000 --reporter mochawesome", "sample:toggle": "ts-node samples/toggle.ts", "sample:flow": "ts-node samples/color-flow.ts", "build": "tsc --project tsconfig.json", "lint": "eslint ./src --fix", "dev": "tsc --watch --project tsconfig.json", "cover": "nyc mocha test/*.test.ts --timeout 10000 --reporter mochawesome", "prepublish": "npm run build", "doc-gen": "typedoc --out doc src/index.ts && touch doc/.nojekyll", "patch": "node patch.js", "ghdeploy": "gh-pages -d doc -m 'CI generated'", "release": "standard-version" }, "husky": { "hooks": { "pre-commit": "npm run lint" } }, "author": "samuraitruong@hotmail.com", "contributors": [ { "name": "Johan Nyman", "url": "https://github.com/nytamin" } ], "license": "MIT", "devDependencies": { "@commitlint/cli": "^12.1.4", "@commitlint/config-conventional": "^12.1.4", "@types/chai": "^4.2.19", "@types/ip": "1.1.0", "@types/mocha": "^8.2.2", "@types/node": "^15.12.5", "@types/sinon": "^10.0.2", "@types/winston": "^2.4.4", "@typescript-eslint/eslint-plugin": "^4.28.0", "@typescript-eslint/parser": "^4.28.0", "chai": "^4.3.4", "cz-conventional-changelog": "3.3.0", "eslint": "^7.29.0", "gh-pages": "^3.2.3", "husky": "^6.0.0", "mocha": "^9.0.1", "mochawesome": "^6.2.2", "nyc": "^15.1.0", "sinon": "^11.1.1", "standard-version": "^9.3.0", "ts-node": "^10.0.0", "typedoc": "^0.21.2", "typescript": "^4.3.4", "winston": "^3.3.3" }, "dependencies": { "@types/portscanner": "^2.1.0", "ip": "^1.1.5", "portscanner": "^2.2.0" }, "repository": { "type": "git", "url": "https://github.com/samuraitruong/yeelight.git" }, "keywords": [ "IoT", "Smart Light", "Yeelight" ], "nyc": { "include": [ "src/**/*.ts" ], "extension": [ ".ts" ], "exclude": [ "**/*.d.ts" ], "require": [ "ts-node/register" ], "reporter": [ "lcov", "text-summary", "html" ], "sourceMap": true, "instrument": true }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }