UNPKG

@smj0x/homebridge-shortcuts-buttons

Version:

Run any Apple Shortcut with just the tap of a button, and execute a custom unix command (or another shortcut!) after completion to handle its success/failure, using x-callback-url.

90 lines (89 loc) 3.04 kB
{ "displayName": "Homebridge Shortcuts Buttons", "name": "@smj0x/homebridge-shortcuts-buttons", "version": "3.5.5", "description": "Run any Apple Shortcut with just the tap of a button, and execute a custom unix command (or another shortcut!) after completion to handle its success/failure, using x-callback-url.", "license": "Apache-2.0", "author": "smj0x", "repository": { "type": "git", "url": "git+https://github.com/smj0x/homebridge-shortcuts-buttons.git" }, "homepage": "https://github.com/smj0x/homebridge-shortcuts-buttons#readme", "bugs": { "url": "https://github.com/smj0x/homebridge-shortcuts-buttons/issues" }, "publishConfig": { "access": "public" }, "engines": { "node": "^18.20.4 || ^20.16.0 || ^22.6.0", "homebridge": "^1.8.0 || ^2.0.0-beta.0" }, "main": "dist/index.js", "type": "module", "scripts": { "lint": "eslint src/**/*.ts", "test": "jest --verbose --silent --forceExit --detectOpenHandles --no-cache", "test:watch": "npm run test -- --watch --no-coverage", "test:quiet": "npm run test -- --verbose false --no-coverage", "convertSchema": "tsx ./bin/convertSchema.ts", "bundle": "rimraf ./dist && tsc && cp -R ./src/bin ./dist", "build": "npm run convertSchema && npm run bundle", "link": "npm run build && npm link", "watch": "npm run link && nodemon", "prettier": "prettier --log-level warn --write .", "typedoc": "typedoc --placeInternalsInOwningModule --mergeModulesMergeMode module", "prepare": "husky", "release": "semantic-release", "prepublishOnly": "npm audit signatures && npm run lint && npm run test:quiet && npm run build" }, "devDependencies": { "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.23.0", "@jest/globals": "^29.7.0", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.1", "@semantic-release/npm": "^12.0.1", "@semantic-release/release-notes-generator": "^14.0.3", "@types/node": "^22.13.17", "@types/ssh2": "^1.15.5", "@typescript-eslint/eslint-plugin": "^8.29.0", "@typescript-eslint/parser": "^8.29.0", "commitizen": "^4.3.1", "cz-conventional-changelog": "^3.3.0", "eslint": "^9.23.0", "homebridge": "^2.0.0-beta.27", "husky": "^9.1.7", "json-schema-to-typescript": "^15.0.4", "lodash": "^4.17.21", "nodemon": "^3.1.9", "prettier": "^3.5.3", "prettier-eslint": "^16.3.0", "rimraf": "^6.0.1", "semantic-release": "^24.2.3", "ts-jest": "^29.3.1", "ts-node": "^10.9.2", "tsx": "^4.19.3", "typedoc": "^0.28.1", "typedoc-plugin-merge-modules": "^7.0.0", "typedoc-plugin-missing-exports": "^4.0.0", "typescript": "^5.8.2" }, "dependencies": { "ssh2": "^1.11.0" }, "overrides": { "npm": ">=10.6", "rimraf": "$rimraf" }, "keywords": [ "apple-home", "apple-shortcuts", "homebridge", "homebridge-plugin", "homekit", "x-callback-url" ] }