UNPKG

klf-200-api

Version:

This module provides a wrapper to the socket API of a Velux KLF-200 interface. You will need at least firmware 0.2.0.0.71 on your KLF interface for this library to work.

113 lines (112 loc) 3.41 kB
{ "name": "klf-200-api", "version": "4.1.3", "description": "This module provides a wrapper to the socket API of a Velux KLF-200 interface. You will need at least firmware 0.2.0.0.71 on your KLF interface for this library to work.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "author": { "name": "Michael Schroeder" }, "type": "module", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", "default": "./dist/esm/index.js" } }, "dependencies": { "@types/promise-timeout": "^1.3.3", "promise-timeout": "^1.3.0" }, "devDependencies": { "@alcalzone/release-script": "^3.7.0", "@alcalzone/release-script-plugin-license": "^3.7.0", "@sinonjs/fake-timers": "^11.2.2", "@types/chai": "^4.3.11", "@types/chai-as-promised": "^7.1.8", "@types/chai-datetime": "0.0.39", "@types/debug": "^4.1.12", "@types/deep-eql": "^4.0.2", "@types/mitm": "^1.3.8", "@types/mocha": "^10.0.6", "@types/node": "^20.14.2", "@types/sinon": "^17.0.3", "@types/sinon-chai": "^3.2.12", "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.14.1", "c8": "^10.1.2", "chai": "^4.4.1", "chai-as-promised": "^7.1.2", "chai-bytes": "^0.1.2", "chai-datetime": "^1.8.0", "cross-env": "^7.0.3", "debug": "^4.3.5", "deep-eql": "^5.0.2", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-deprecation": "^3.0.0", "eslint-plugin-prettier": "^5.1.3", "mocha": "^10.4.0", "mocha-junit-reporter": "^2.2.1", "mocha-multi-reporters": "^1.5.1", "nock": "^13.5.4", "nyc": "^15.1.0", "prettier": "^3.1.1", "shx": "^0.3.4", "sinon": "^18.0.0", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", "tsx": "^4.16.0", "typedoc": "^0.26.3", "typescript": "^5.4.5" }, "scripts": { "compile:types": "tsc -b ./tsconfig.types.json", "compile:cjs": "tsx ./deployment/prepare-cjs.ts && tsc -b ./tsconfig.cjs.json", "compile:esm": "tsc -b ./tsconfig.esm.json", "compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json", "build:clean": "rm -rf ./dist", "build": "npm run build:clean && tsx ./deployment/prepare-cjs.ts && npm run compile && shx cp ./deployment/package.esm.json ./dist/esm/package.json && shx cp ./deployment/package.cjs.json ./dist/cjs/package.json && shx cp ./velux-cert.pem ./dist/velux-cert.pem", "watch": "tsc --watch", "test": "cross-env DEBUG=-mockServer*,-klf-200-api*,-connection-test c8 mocha", "lint": "eslint --ext .ts src test", "release": "release-script", "document": "typedoc" }, "nyc": { "include": [ "src/**/*.ts", "src/**/*.tsx" ], "extension": [ ".ts", ".tsx" ], "exclude": [ "**/*.d.ts" ], "reporter": [ "text-summary", "html" ], "all": true }, "repository": { "type": "git", "url": "git+https://github.com/MiSchroe/klf-200-api.git" }, "keywords": [ "klf-200", "klf200", "VELUX", "IoT" ], "license": "MIT", "bugs": { "url": "https://github.com/MiSchroe/klf-200-api/issues" }, "homepage": "https://mischroe.github.io/klf-200-api/" }