UNPKG

2.36 kBJSONView Raw
1{
2 "name": "hap-nodejs",
3 "version": "1.0.0",
4 "description": "HAP-NodeJS is a Node.js implementation of HomeKit Accessory Server.",
5 "main": "dist/index.js",
6 "types": "dist/index.d.ts",
7 "maintainers": [
8 "Andreas Bauer <mail@anderl-bauer.de>"
9 ],
10 "author": "Khaos Tian <khaos.tian@gmail.com> (https://tz.is/)",
11 "homepage": "https://github.com/homebridge/HAP-NodeJS",
12 "license": "Apache-2.0",
13 "scripts": {
14 "clean": "rimraf dist && rimraf coverage",
15 "lint": "eslint 'src/**/*.{js,ts,json}'",
16 "build": "rimraf dist && tsc && node .github/node-persist-ignore.js",
17 "prepublishOnly": "npm run build",
18 "postpublish": "npm run clean",
19 "test": "jest",
20 "test-coverage": "jest --coverage",
21 "start": "node dist/BridgedCore.js",
22 "docs": "typedoc",
23 "lint-docs": "typedoc --emit none --treatWarningsAsErrors"
24 },
25 "keywords": [
26 "hap-nodejs",
27 "hap",
28 "homekit",
29 "homekit-accessory-protocol",
30 "homekit-server",
31 "homekit-protocol",
32 "homekit-device",
33 "homekit-accessory",
34 "hap-server",
35 "homekit-support",
36 "siri"
37 ],
38 "repository": {
39 "type": "git",
40 "url": "git+https://github.com/homebridge/HAP-NodeJS.git"
41 },
42 "bugs": {
43 "url": "https://github.com/homebridge/HAP-NodeJS/issues"
44 },
45 "engines": {
46 "node": "^18 || ^20"
47 },
48 "files": [
49 "README.md",
50 "LICENSE",
51 "dist",
52 "@types"
53 ],
54 "dependencies": {
55 "@homebridge/ciao": "^1.3.0",
56 "@homebridge/dbus-native": "^0.6.0",
57 "bonjour-hap": "^3.8.0",
58 "debug": "^4.3.5",
59 "fast-srp-hap": "^2.0.4",
60 "futoin-hkdf": "^1.5.3",
61 "node-persist": "^0.0.12",
62 "source-map-support": "^0.5.21",
63 "tslib": "^2.6.3",
64 "tweetnacl": "^1.0.3"
65 },
66 "devDependencies": {
67 "@types/debug": "^4.1.12",
68 "@types/escape-html": "^1.0.4",
69 "@types/jest": "^29.5.12",
70 "@types/node": "^20.14.10",
71 "@types/plist": "^3.0.5",
72 "@typescript-eslint/eslint-plugin": "^7.16.0",
73 "@typescript-eslint/parser": "^7.16.0",
74 "axios": "^1.7.2",
75 "commander": "^12.1.0",
76 "escape-html": "^1.0.3",
77 "eslint": "^8.57.0",
78 "http-parser-js": "^0.5.8",
79 "jest": "^29.7.0",
80 "rimraf": "^5.0.9",
81 "semver": "^7.6.2",
82 "simple-plist": "^1.4.0-0",
83 "ts-jest": "^29.2.0",
84 "ts-node": "^10.9.2",
85 "typedoc": "^0.26.3",
86 "typescript": "^5.5.3"
87 }
88}