UNPKG

node-red-contrib-mysensors

Version:

Mysensors related nodes, for decoding / encoding mysensors serial protocol and MQTT topic, and wrapping arbitrary messages into mysensors compatible messages

91 lines (90 loc) 3.16 kB
{ "name": "node-red-contrib-mysensors", "author": { "name": "Thomas Bowman Mørch" }, "version": "4.2.0", "engines": { "node": ">=16.0.0" }, "scripts": { "postcoverage": "nyc check-coverage --functions 50 --branches 50 --statements 90", "build": "mkdir -p dist/nodes/ && cp -ar src/nodes/*.html dist/nodes/ && tsc ", "prepublish": "npm run build", "mocha": "TZ=Z mocha -r ts-node/register -r source-map-support/register", "coverage": "TZ=Z nyc --clean --cache false --reporter=text-summary --reporter=html mocha --forbid-only -r ts-node/register -r source-map-support/register 'src/**/*.spec.ts'", "format": "prettier --write src/**/*.ts", "lint": "tsc --noEmit && eslint src/**/*.ts", "coverage:ci": "TZ=Z nyc --clean --cache false --reporter=lcov mocha --forbid-only -r ts-node/register -r source-map-support/register 'src/**/*.spec.ts'" }, "husky": { "hooks": { "pre-commit": "lint-staged && npm run lint" } }, "lint-staged": { "{src,e2e,cypress}/**/*.{ts,json,md,scss}": [ "prettier --write", "git add" ] }, "bugs": { "url": "https://github.com/tbowmo/node-red-contrib-mysensors/issues" }, "deprecated": false, "description": "Mysensors related nodes, for decoding / encoding mysensors serial protocol and MQTT topic, and wrapping arbitrary messages into mysensors compatible messages", "homepage": "https://github.com/tbowmo/node-red-contrib-mysensors", "keywords": [ "node-red", "mysensors", "decode", "encode", "wrap", "encapsulate", "debug" ], "license": "GPL-2.0", "main": "index.js", "node-red": { "version": ">=3.0", "nodes": { "mysdecode": "dist/nodes/decode.js", "mysencode": "dist/nodes/encode.js", "mysencap": "dist/nodes/encapsulate.js", "mysdebug": "dist/nodes/mysdebug.js", "myscontroler": "dist/nodes/controller.js", "mysdb": "dist/nodes/mysensors-db.js" } }, "repository": { "type": "git", "url": "git+https://github.com/tbowmo/node-red-contrib-mysensors.git" }, "dependencies": { "date-fns": "^2.30.0", "date-fns-tz": "^2.0.0" }, "devDependencies": { "@types/chai": "^4.3.5", "@types/mocha": "^10.0.1", "@types/node": "^20.1.4", "@types/node-red": "1.3.1", "@types/node-red-node-test-helper": "^0.2.3", "@types/sinon": "^10.0.15", "@typescript-eslint/eslint-plugin": "^5.59.6", "@typescript-eslint/parser": "^5.59.6", "chai": "^4.3.7", "eslint": "^8.40.0", "husky": "^8.0.3", "lint-staged": "^13.2.2", "mocha": "^10.2.0", "node-red": "^3.0.2", "node-red-node-test-helper": "^0.3.1", "nyc": "^15.1.0", "sinon": "^15.0.4", "source-map-support": "^0.5.21", "ts-node": "^10.9.1", "tslint": "^6.1.3", "typescript": "*" } }