UNPKG

@jabrown93/homebridge-onkyo

Version:
144 lines (143 loc) 4.07 kB
{ "name": "@jabrown93/homebridge-onkyo", "version": "1.3.0", "description": "Homebridge plugin for Onkyo Receivers", "keywords": [ "homebridge-plugin", "homebridge", "onkyo-avr", "onkyo" ], "homepage": "https://github.com/jabrown93/homebridge-onkyo#readme", "bugs": { "url": "https://github.com/jabrown93/homebridge-onkyo/issues" }, "repository": { "type": "git", "url": "git+https://github.com/jabrown93/homebridge-onkyo.git" }, "license": "ISC", "author": { "name": "Jared Brown", "email": "npm@jaredbrown.io", "url": "https://github.com/jabrown93" }, "contributors": [ "gw-wiscon <gw.wiscon@gmail.com>" ], "type": "module", "main": "dist/index.js", "scripts": { "typecheck": "tsc --noEmit", "prettier": "prettier --check .", "format": "prettier --write .", "lint": "eslint src/**.ts", "lint:fix": "eslint src/**.ts --fix", "clean": "rimraf ./dist", "compile": "tsc", "build": "rimraf ./dist && npm-run-all clean compile", "watch": "npm run setup-config && npm run build && npm link && nodemon", "prepublishOnly": "npm-run-all prettier lint build", "semantic-release": "cross-env semantic-release --no-ci", "release": "npm-run-all build semantic-release", "test": "xo", "prepare": "husky", "tsc": "tsc --noEmit", "setup-config": "if [ ! -f ./test/hbConfig/config.json ]; then cp ./test/hbConfig/config-template.json ./test/hbConfig/config.json; fi" }, "lint-staged": { "*.{js,mjs,ts,json,md,yml,json}": [ "eslint src/**.ts --fix --max-warnings=0 --no-warn-ignored", "prettier --write" ] }, "xo": { "ignores": "eiscp", "rules": { "unicorn/prefer-module": "warn", "unicorn/no-new-array": "warn", "unicorn/no-array-for-each": "warn", "camelcase": "off", "kebabCase": "off", "no-mixed-spaces-and-tabs": "warn", "no-useless-escape": "warn", "indent": "off", "quotes": "warn", "capitalized-comments": "off", "no-var": "warn", "prefer-destructuring": "off", "prefer-arrow-callback": "warn", "object-shorthand": [ "off", "always", { "ignoreConstructors": true } ], "quote-props": "error", "no-unused-vars": "warn", "curly": [ "error", "multi-or-nest", "consistent" ], "no-use-before-define": [ "error", { "classes": false } ] }, "space": false }, "dependencies": { "async": "*", "js-yaml": "*", "polling-to-event": "^2.1.0", "utils": "^0.3.1" }, "devDependencies": { "@commitlint/cli": "19.8.1", "@commitlint/config-conventional": "19.8.1", "@eslint/eslintrc": "3.3.1", "@eslint/js": "9.36.0", "@semantic-release/changelog": "6.0.3", "@semantic-release/commit-analyzer": "13.0.1", "@semantic-release/exec": "7.1.0", "@semantic-release/git": "10.0.1", "@semantic-release/github": "11.0.6", "@semantic-release/npm": "12.0.2", "@semantic-release/release-notes-generator": "14.1.0", "@types/async": "3.2.25", "@types/async-lock": "1.4.2", "@types/js-yaml": "4.0.9", "@types/node": "22.18.6", "@typescript-eslint/eslint-plugin": "8.44.0", "@typescript-eslint/parser": "8.44.0", "conventional-changelog-conventionalcommits": "9.1.0", "cross-env": "10.0.0", "eslint": "9.36.0", "eslint-plugin-ava": "15.1.0", "eslint-plugin-json": "4.0.1", "eslint-plugin-unicorn": "latest", "homebridge": "1.11.0", "homebridge-config-ui-x": "5.7.0", "husky": "9.1.7", "lint-staged": "16.2.0", "nodemon": "3.1.10", "npm-run-all2": "8.0.4", "prettier": "3.6.2", "rimraf": "6.0.1", "ts-node": "10.9.2", "typescript": "5.9.2", "typescript-eslint": "8.44.0", "xo": "1.2.2" }, "engines": { "homebridge": "^1.8.0 || ^2.0.0-beta.0", "node": "^20.18.0 || ^22.10.0" }, "publishConfig": { "access": "public" } }