-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
83 lines (83 loc) · 2.27 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "node-switchbot",
"type": "module",
"version": "3.4.0",
"description": "The node-switchbot is a Node.js module which allows you to control your Switchbot Devices through Bluetooth (BLE).",
"author": "OpenWonderLabs (https://github.com/OpenWonderLabs)",
"license": "MIT",
"homepage": "https://github.com/OpenWonderLabs/node-switchbot",
"repository": {
"type": "git",
"url": "https://github.com/OpenWonderLabs/node-switchbot.git"
},
"bugs": {
"url": "https://github.com/OpenWonderLabs/node-switchbot/issues"
},
"keywords": [
"switchbot",
"bot",
"meter",
"temperature",
"humidity",
"curtain",
"blind",
"BLE",
"Bluetooth Low Energy",
"Bluetooth smart",
"Bluetooth",
"OpenAPI",
"OpenWonderLabs",
"Switchbot API"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^20 || ^22"
},
"scripts": {
"check": "npm install && npm outdated",
"lint": "eslint src/**/*.ts",
"fix": "eslint src/**/*.ts --fix",
"watch": "npm run build && npm link && nodemon",
"build": "npm run clean && tsc",
"prepublishOnly": "npm run lint && npm run build",
"postpublish": "npm run clean && npm ci",
"clean": "shx rm -rf ./dist",
"test": "vitest run",
"test-coverage": "npm run test -- --coverage",
"docs": "typedoc",
"lint-docs": "typedoc --emit none --treatWarningsAsErrors"
},
"readmeFilename": "README.md",
"dependencies": {
"@stoprocent/noble": "^1.15.1",
"async-mutex": "^0.5.0",
"undici": "^6.21.0"
},
"optionalDependencies": {
"@stoprocent/bluetooth-hci-socket": "^1.4.1"
},
"devDependencies": {
"@antfu/eslint-config": "^3.9.1",
"@types/aes-js": "^3.1.4",
"@types/debug": "^4.1.12",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.14",
"@types/mdast": "^4.0.4",
"@types/node": "^22.9.0",
"@types/semver": "^7.5.8",
"@types/sinon": "^17.0.3",
"@types/source-map-support": "^0.5.10",
"@vitest/coverage-v8": "^2.1.5",
"eslint": "^9.15.0",
"eslint-plugin-format": "^0.1.2",
"jest": "^29.7.0",
"nodemon": "^3.1.7",
"shx": "^0.3.4",
"sinon": "^19.0.2",
"ts-node": "^10.9.2",
"typedoc": "^0.26.11",
"typescript": "^5.6.3",
"vitest": "^2.1.5"
}
}