{
   "name": "homebridge-cmd4",
   "description": "Exec Plugin for Homebridge supporting all accessorys and characteristics",
   "version": "8.0.4",
   "license": "MIT",
   "author": {
      "name": "John Talbot"
   },
   "repository": {
      "type": "git",
      "url": "git://github.com/ztalbot2000/homebridge-cmd4.git"
   },
   "homepage": "https://github.com/ztalbot2000/homebridge-cmd4#readme",
   "changelog": "https://github.com/ztalbot2000/homebridge-cmd4/blob/master/ChangeLog.md",
   "bugs": {
      "url": "https://github.com/ztalbot2000/homebridge-cmd4/issues",
      "email": "ztalbot2000@gmail.com"
   },
   "dependencies": {
      "chalk": "^4.1.0",
      "command-exists": "^1.2.9",
      "fakegato-history": ">=0.6.5",
      "latest-version": "^5.1.0",
      "moment": "*"
   },
   "devDependencies": {
      "@commitlint/cli": "^11.0.0",
      "@commitlint/config-conventional": "^11.0.0",
      "chai": "^4.2.0",
      "commander": "^8.2.0",
      "commitlint-plugin-function-rules": "^1.1.20",
      "eslint": "^7.17.0",
      "generate-changelog": "^1.8.0",
      "husky": "^4.3.8",
      "link-checker": "^1.4.2",
      "markdown-link-check": "^3.8.6",
      "mocha": "^8.0.1",
      "node-persist": "^0.0.11",
      "sinon": "^9.2.4",
      "which": "^2.0.2"
   },
   "directories": {
      "test": "test",
      "lib": "lib",
      "utils": "utils",
      "docs": "docs"
   },
   "engines": {
      "node": "^18.20.4 || ^20.18.0 || ^22.10.0 || ^24.0.0",
      "homebridge": "^1.8.0 || ^2.0.0-beta.0"
   },
   "keywords": [
      "homebridge-plugin",
      "homebridge",
      "exec",
      "command",
      "switch",
      "light",
      "door",
      "thermostat",
      "security",
      "temperature",
      "virtual",
      "Eve",
      "Homekit",
      "siri",
      "home",
      "Eve"
   ],
   "husky": {
      "hooks": {
         "pre-commit": "npm run lint && npm run test test/cmd4Constants",
         "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
      }
   },
   "scripts": {
      "debug": "DEBUG=* homebridge --debug --plugin-path .",
      "pretest": "printf ' test is only done in a development environment\n';sleep 2 ",
      "testDebug": "node_modules/.bin/mocha --require async-dump.js --file test/mocha-setup --ignore test/versionChecker.js",
      "test": "node_modules/.bin/mocha --file test/mocha-setup --ignore test/versionChecker.js",
      "singleTest": "node_modules/.bin/mocha --bail --file test/mocha-setup --ignore test/versionChecker.js",
      "allTests": "node_modules/.bin/mocha --bail --file test/mocha-setup $( cat test/allTests )",
      "sanityTests": "node_modules/.bin/mocha --bail --file test/mocha-setup $( cat test/sanityTests )",
      "_Note0": "Excluded from commit as may fail for probing GitHub to much",
      "testMarkDown": "markdown-link-check ./README.md && markdown-link-check ./CHANGELOG.md && markdown-link-check ./docs/AdvancedTroubleShooting.md && markdown-link-check ./docs/Developers.md",
      "testAutoGeneratedDocLinks": "link-checker docs/autoGenerated/CMD4_AccessoryDescriptions.html",
      "commitTests": "npm run test && npm run testMarkDown",
      "_Note": "Excluded only because they sometimes fail, but pass alone.    ",
      "testCmd4Accessory": "node_modules/.bin/mocha --file test/mocha-setup test/Cmd4Accessory.js",
      "testVersionChecker": "node_modules/.bin/mocha --file test/mocha-setup test/versionChecker.js",
      "lint": "eslint --ext .js *.js utils/*.js lib/*.js tools/* test/*.js",
      "postinstall": "node postinstall.js",
      "_Note01": "Auto change the version based on the commit history.        ",
      "_Note02": "Where:                                                      ",
      "_Note03": "To trigger a version update                                 ",
      "_Note04": "    npm run release                                         ",
      "_Note05": "                                                            ",
      "_Note06": "To trigger a patch update (1.0.0 → 1.0.1)                   ",
      "_Note07": "    git commit -m 'fix: …'                                  ",
      "_Note08": "To trigger a minor update (1.0.0 → 1.1.0)                   ",
      "_Note09": "    git commit -m 'feat: …'                                 ",
      "_Note10": "To trigger a major update (1.0.0 → 2.0.0)                   ",
      "_Note11": "    A BREAKING CHANGE: in the commit body                   ",
      "_Note12": "                                                            ",
      "_Note13": "As a summary, generate-changelog will do                    ",
      "_Note14": "   * Bumps the version in package.json                      ",
      "_Note15": "   * Updates CHANGELOG.md                                   ",
      "_Note16": "                                                            ",
      "release": "tools/generateChangeLog",
      "_Note17": "                                                            ",
      "_Note18": "Overide default behaviour with:                             ",
      "release:patch": "tools/generateChangeLog --type patch --cleanup",
      "release:minor": "tools/generateChangeLog --type minor --cleanup",
      "release:major": "tools/generateChangeLog --type major --cleanup"
   }
}