UNPKG

2.41 kBJSONView Raw
1{
2 "name": "hap-nodejs",
3 "version": "1.1.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 "check": "npm install && npm outdated",
15 "clean": "rimraf dist && rimraf coverage",
16 "lint": "eslint 'src/**/*.{js,ts,json}'",
17 "build": "rimraf dist && tsc && node .github/node-persist-ignore.js",
18 "prepublishOnly": "npm run build",
19 "postpublish": "npm run clean",
20 "test": "jest",
21 "test-coverage": "jest --coverage",
22 "start": "node dist/BridgedCore.js",
23 "docs": "typedoc",
24 "lint-docs": "typedoc --emit none --treatWarningsAsErrors"
25 },
26 "keywords": [
27 "hap-nodejs",
28 "hap",
29 "homekit",
30 "homekit-accessory-protocol",
31 "homekit-server",
32 "homekit-protocol",
33 "homekit-device",
34 "homekit-accessory",
35 "hap-server",
36 "homekit-support",
37 "siri"
38 ],
39 "repository": {
40 "type": "git",
41 "url": "git+https://github.com/homebridge/HAP-NodeJS.git"
42 },
43 "bugs": {
44 "url": "https://github.com/homebridge/HAP-NodeJS/issues"
45 },
46 "engines": {
47 "node": "^18 || ^20"
48 },
49 "files": [
50 "README.md",
51 "LICENSE",
52 "dist",
53 "@types"
54 ],
55 "dependencies": {
56 "@homebridge/ciao": "^1.3.0",
57 "@homebridge/dbus-native": "^0.6.0",
58 "bonjour-hap": "^3.8.0",
59 "debug": "^4.3.5",
60 "fast-srp-hap": "^2.0.4",
61 "futoin-hkdf": "^1.5.3",
62 "node-persist": "^0.0.12",
63 "source-map-support": "^0.5.21",
64 "tslib": "^2.6.3",
65 "tweetnacl": "^1.0.3"
66 },
67 "devDependencies": {
68 "@types/debug": "^4.1.12",
69 "@types/escape-html": "^1.0.4",
70 "@types/jest": "^29.5.12",
71 "@types/node": "^20.14.11",
72 "@types/plist": "^3.0.5",
73 "@typescript-eslint/eslint-plugin": "^7.16.1",
74 "@typescript-eslint/parser": "^7.16.1",
75 "axios": "^1.7.2",
76 "commander": "^12.1.0",
77 "escape-html": "^1.0.3",
78 "eslint": "^8.57.0",
79 "http-parser-js": "^0.5.8",
80 "jest": "^29.7.0",
81 "rimraf": "^6.0.1",
82 "semver": "^7.6.3",
83 "simple-plist": "^1.4.0-0",
84 "ts-jest": "^29.2.3",
85 "ts-node": "^10.9.2",
86 "typedoc": "^0.26.5",
87 "typescript": "^5.5.3"
88 }
89}