-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
60 lines (60 loc) · 1.67 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
{
"name": "smartbed-mqtt",
"version": "1.1.21",
"description": "Smartbed MQTT integration",
"author": "Richard Hopton",
"repository": "[email protected]:richardhopton/smartbed-mqtt.git",
"license": "MIT",
"type": "module",
"main": "./dist/tsc/index.js",
"types": "./dist/tsc/index.d.ts",
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/bonjour": "^3.5.9",
"@types/jest": "^26.0.23",
"@types/node": "16.18.0",
"@types/ws": "^7.4.7",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"eslint": "^9.0.0",
"husky": "^6.0.0",
"jest": "29",
"jest-mock-extended": "^3.0.1",
"lint-staged": "^11.0.0",
"prettier": "^2.3.1",
"ts-alias": "^0.0.6",
"ts-jest": "^29.1.2",
"ts-node": "^10.0.0",
"tsc-alias": "^1.8.2",
"tsconfig-paths": "^4.1.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.6.0"
},
"scripts": {
"build": "tsc -p tsconfig.build.json && tsc-alias",
"build:ci": "yarn clean && yarn build",
"clean": "rm -rf dist build",
"lint": "eslint src/ --max-warnings=0",
"prepare": "husky install",
"prettier": "prettier --write \"src/**/**.{ts,js,json}\"",
"test": "jest --watch",
"test:ci": "jest",
"start": "ts-node src/index.ts",
"docker:dev": "docker build -t smqtt . && docker run -v $(pwd)/../data:/data smqtt"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/tsc/**/*"
],
"lint-staged": {
"src/*.ts": "eslint --max-warnings=0",
"srs/*.{ts,js,json}": "prettier --write"
},
"dependencies": {
"@2colors/esphome-native-api": "^1.3.1",
"axios": "^1.7.4",
"mqtt": "^4.2.8"
}
}