-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
80 lines (80 loc) · 2.24 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
{
"name": "node-switchbot",
"type": "module",
"version": "3.4.9",
"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",
"lint:fix": "eslint src/**/*.ts --fix",
"watch": "npm run build && npm link && nodemon",
"build": "npm run clean && tsc",
"prepublishOnly": "npm run lint && npm run build && npm run docs && npm run lint-docs",
"postpublish": "npm run clean && npm ci",
"clean": "shx rm -rf ./dist",
"test": "vitest run",
"test:watch": "vitest watch",
"test-coverage": "npm run test -- --coverage",
"docs": "typedoc",
"lint-docs": "typedoc --emit none --treatWarningsAsErrors"
},
"readmeFilename": "README.md",
"dependencies": {
"@stoprocent/noble": "^1.18.2",
"async-mutex": "^0.5.0",
"undici": "7.3.0"
},
"optionalDependencies": {
"@stoprocent/bluetooth-hci-socket": "^1.4.4"
},
"devDependencies": {
"@antfu/eslint-config": "^3.16.0",
"@types/aes-js": "^3.1.4",
"@types/debug": "^4.1.12",
"@types/fs-extra": "^11.0.4",
"@types/mdast": "^4.0.4",
"@types/node": "^22.10.10",
"@types/semver": "^7.5.8",
"@types/source-map-support": "^0.5.10",
"@vitest/coverage-v8": "^3.0.4",
"eslint": "^9.18.0",
"eslint-plugin-format": "^1.0.1",
"nodemon": "^3.1.9",
"shx": "^0.3.4",
"ts-node": "^10.9.2",
"typedoc": "^0.27.6",
"typescript": "^5.7.3",
"vitest": "^3.0.4"
}
}