UNPKG

react-stomp

Version:

React websocket component with STOMP over SockJS

76 lines (75 loc) 2.35 kB
{ "name": "react-stomp", "version": "5.1.0", "description": "React websocket component with STOMP over SockJS", "main": "./dist/client.js", "nyc": { "extension": [ ".jsx" ] }, "scripts": { "prepublish": "npm run test && npm run build", "lint": "eslint src/* test/*", "lint-fix": "eslint src/* test/* --fix", "test": "npm run lint && mocha --require @babel/register --require test/bootstrap.js --recursive test/unit --exit", "e2e-test": "npm run lint && mocha --require @babel/register --require test/bootstrap.js --recursive test/e2e --exit", "all-test": "npm run lint && nyc mocha --require @babel/register --require test/bootstrap.js --recursive test --exit", "build": "babel src --out-dir dist", "coverage": "nyc report --reporter=text-lcov | coveralls", "docs": "documentation build src/* -f md --github > API.md" }, "repository": { "type": "git", "url": "git+https://github.com/lahsivjar/react-stomp.git" }, "keywords": [ "react", "websocket", "sockjs", "stomp" ], "author": "lahsivjar", "license": "MIT", "bugs": { "url": "https://github.com/lahsivjar/react-stomp/issues" }, "homepage": "https://github.com/lahsivjar/react-stomp#readme", "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/register": "^7.6.0", "babel-eslint": "^10.0.0", "chai": "^4.1.2", "coveralls": "^3.0.2", "documentation": "^12.0.0", "enzyme": "^3.6.0", "enzyme-adapter-react-16": "^1.5.0", "eslint": "^6.0.0", "eslint-config-standard": "^12.0.0", "eslint-config-standard-react": "^8.0.0", "eslint-plugin-babel": "^5.2.0", "eslint-plugin-import": "^2.14.0", "eslint-plugin-node": "^9.0.0", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-react": "^7.12.4", "eslint-plugin-standard": "^4.0.0", "jsdom": "^15.0.0", "lodash": "^4.17.10", "mocha": "^6.0.0", "nyc": "^15.0.1", "prop-types": "^15.6.2", "react": "^16.13.0", "react-dom": "^16.13.0", "sinon": "^9.0.1" }, "dependencies": { "handlebars": "^4.7.6", "net": "^1.0.2", "sockjs-client": "^1.5.0", "stompjs": "^2.3.3" } }