UNPKG

mqtt-react-hooks

Version:

ReactJS library for Pub/Sub communication with an MQTT broker using Hooks

127 lines (126 loc) 3.67 kB
{ "name": "mqtt-react-hooks", "version": "3.0.0-alpha.2", "private": false, "description": "ReactJS library for Pub/Sub communication with an MQTT broker using Hooks", "main": "dist/index.js", "module": "dist/index.es.js", "types": "dist/index.d.ts", "directories": { "lib": "lib" }, "files": [ "dist" ], "publishConfig": { "access": "public" }, "keywords": [ "mqtt", "react", "hooks", "context", "esp8266", "esp32" ], "repository": { "type": "git", "url": "git+https://github.com/victorHAS/mqtt-react-hooks.git" }, "homepage": "https://github.com/victorHAS/mqtt-react-hooks#readme", "author": "VictorHAS", "license": "MIT", "release": { "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", [ "@semantic-release/npm", { "npmPublish": false } ], "@semantic-release/changelog", "@semantic-release/git" ], "branch": "master" }, "scripts": { "prebuild": "rimraf dist typings", "build": "rollup -c ./rollup.config.js", "test": "jest --runInBand --detectOpenHandles --silent", "coveralls": "jest && cat ./__tests__/coverage/lcov.info | coveralls", "prepare": "husky install" }, "devDependencies": { "@babel/core": "^7.17.10", "@commitlint/cli": "^16.2.4", "@commitlint/config-conventional": "^16.2.4", "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-url": "^7.0.0", "@semantic-release/changelog": "^6.0.1", "@semantic-release/commit-analyzer": "^9.0.2", "@semantic-release/git": "^10.0.1", "@semantic-release/npm": "^9.0.1", "@semantic-release/release-notes-generator": "^10.0.3", "@testing-library/dom": "8.13.0", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "13.2.0", "@types/jest": "^27.5.0", "@types/node": "^17.0.32", "@types/react": "^18.0.9", "@types/react-dom": "^18.0.3", "@types/react-router-dom": "^5.3.3", "@types/react-test-renderer": "^18.0.0", "@typescript-eslint/eslint-plugin": "^5.23.0", "@typescript-eslint/parser": "^5.23.0", "commitizen": "^4.2.4", "coveralls": "^3.1.1", "cz-conventional-changelog": "3.3.0", "eslint": "^8.15.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-prettier": "^8.5.0", "eslint-import-resolver-typescript": "^2.7.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-import-helpers": "^1.2.1", "eslint-plugin-jest": "^26.1.5", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.29.4", "eslint-plugin-react-hooks": "^4.5.0", "husky": "^8.0.0", "jest": "^28.1.0", "jest-environment-jsdom": "^28.1.0", "lint-staged": "^12.4.1", "npm-run-all": "^4.1.5", "prettier": "^2.6.2", "react": "^18.1.0", "react-dom": "18.1.0", "react-router-dom": "^6.3.0", "react-test-renderer": "18.1.0", "rimraf": "^3.0.2", "rollup": "^2.72.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.31.2", "semantic-release": "^19.0.2", "ts-jest": "^28.0.2", "typescript": "^4.6.4" }, "peerDependencies": { "react": ">= 18.1.0", "react-dom": ">= 18.1.0" }, "dependencies": { "mqtt": "4.3.7", "mqtt-pattern": "^1.2.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }