-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 1.96 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": "rc-mqtt",
"version": "1.0.1",
"private": false,
"keywords": [
"mqtt",
"mqttjs",
"rc-mqtt",
"react-mqtt",
"react-mqttjs",
"react-hook-mqtt",
"mqtt-react-hooks",
"react",
"hooks",
"context",
"esp8266",
"esp32"
],
"homepage": "https://github.com/andybuibui/rc-mqtt#readme",
"bugs": {
"url": "https://github.com/andybuibui/rc-mqtt/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/andybuibui/rc-mqtt"
},
"type": "module",
"exports": {
".": {
"import": "./dist/rc-mqtt.js",
"require": "./dist/rc-mqtt.umd.cjs"
}
},
"main": "./dist/rc-mqtt.umd.cjs",
"module": "./dist/rc-mqtt.js",
"typings": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc && vite build",
"format": "prettier --cache --write .",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prepare": "husky install"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": "npm run lint",
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
},
"dependencies": {
"mqtt": "^5.5.5",
"mqtt-pattern": "^2.1.0"
},
"devDependencies": {
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.7",
"prettier-plugin-organize-imports": "^3.2.2",
"prettier-plugin-packagejson": "^2.4.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2",
"vite": "^5.2.0"
},
"peerDependencies": {
"react": ">=18.1.0",
"react-dom": ">=18.1.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}