UNPKG

homebridge-plugin-waveshare-relay

Version:

Homebridge plugin exposing Waveshare Raspberry Pi Relay Board as a series of switches

80 lines (79 loc) 2.57 kB
{ "name": "homebridge-plugin-waveshare-relay", "version": "0.1.1", "description": "Homebridge plugin exposing Waveshare Raspberry Pi Relay Board as a series of switches", "license": "UNLICENSED", "author": "Jonathan Darrer <jonny@jondarrer.me.uk>", "repository": { "type": "git", "url": "https:///github.com/jondarrer/homebridge-plugin-waveshare-relay" }, "type": "module", "main": "dist/index.js", "module": "dist/index.js", "scripts": { "build": "rimraf ./dist && rimraf ./tsconfig.tsbuildinfo && tsc && yarn copy-non-ts-files", "containerised-homebridge": "yarn build && ./scripts/init.sh && docker-compose up --build", "containerised-homebridge-beta-2.0.0": "yarn build && ./scripts/init-beta-2.0.0.sh && docker-compose --file docker-compose-beta-2.0.0.yml up --build", "copy-non-ts-files": "copyfiles -u 1 src/**/**/*.html dist/", "lint-staged": "lint-staged", "prepare": "husky", "test": "node --import tsx --test --disable-warning=ExperimentalWarning --experimental-test-module-mocks \"src/**/*.test.ts\"" }, "dependencies": { "@homebridge/plugin-ui-utils": "^2.0.1" }, "devDependencies": { "@eslint/eslintrc": "^3.3.0", "@eslint/js": "^9.23.0", "@types/express": "^4.17.21", "@types/jest": "^29.5.14", "@types/jsdom": "^21.1.7", "@types/node": "^22.13.10", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "copyfiles": "^2.4.1", "eslint": "^9.23.0", "eslint-plugin-jest": "^28.11.0", "globals": "^16.0.0", "homebridge": "^1.9.0", "husky": "^9.1.7", "jest": "^29.7.0", "jest-config": "^29.7.0", "jsdom": "^26.0.0", "lint-staged": "^15.4.3", "nock": "^14.0.1", "prettier": "^3.5.3", "prettier-eslint": "16.3.0", "prettier-package-json": "^2.8.0", "rimraf": "^6.0.1", "ts-jest": "^29.2.6", "ts-node": "^10.9.2", "ts-node-dev": "^2.0.0", "tsx": "^4.19.3", "typescript": "^5.8.2", "typescript-eslint": "^8.28.0" }, "keywords": [ "homebridge-plugin", "waveshare" ], "engines": { "homebridge": "^1.9.0 || ^2.0.0", "node": "^18.19.0 || ^20.9.0 || ^22.14.0", "npm": "please-use-yarn" }, "displayName": "Homebridge Waveshare Relay", "lint-staged": { "**/package.json": [ "prettier-package-json --write", "git add" ], "src/**/*.ts": [ "eslint --fix --quiet", "prettier --single-quote --trailing-comma es5 --write", "git add" ] }, "packageManager": "yarn@4.6.0" }