UNPKG

react-cent

Version:

React Component to make realtime apps with React simply. Provides integration with Centrifugo.

81 lines (80 loc) 2.1 kB
{ "name": "react-cent", "homepage": "https://github.com/fortis/react-cent", "description": "React Component to make realtime apps with React simply. Provides integration with Centrifugo.", "version": "2.0.4", "readme": "README.md", "author": { "name": "Alan Bondarchuk", "email": "imacoda@gmail.com", "url": "https://github.com/fortis" }, "bugs": { "url": "https://github.com/fortis/react-cent/issues" }, "keywords": [ "react", "react-cent", "cent", "socket", "socketjs", "websocket", "reactjs", "centrifugo", "centrifuge", "centrifuge-js" ], "bundleDependencies": false, "main": "dist/index.js", "scripts": { "build": "npm run clean && babel src --out-dir dist/", "clean": "rimraf dist && mkdirp dist", "test": "BABEL_ENV=development jest --no-cache", "test:coverage": "BABEL_ENV=development jest --no-cache --coverage", "test:lint": "standard ./src --parser babel-eslint", "test:watch": "BABEL_ENV=development jest --no-cache --watch" }, "repository": { "type": "git", "url": "git+https://github.com/fortis/react-cent.git" }, "dependencies": { "centrifuge": "^2.0.1" }, "peerDependencies": { "prop-types": "^15.6.0", "react": "^0.14.0 || ^15.0.0 || ^16.0.0" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.0.1", "babel-jest": "^22.0.0", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "babel-register": "^6.26.0", "coveralls": "^3.0.0", "enzyme": "^3.1.0", "jest": "^22.0.0", "jest-cli": "^22.0.0", "mkdirp": "^0.5.1", "prop-types": "^15.6.0", "react": "^16.0.0", "react-addons-test-utils": "^15.5.1", "react-dom": "^16.0.0", "rimraf": "^2.6.2", "sinon": "^5.0.0", "standard": "^11.0.0", "yargs": "^11.0.0" }, "jest": { "unmockedModulePathPatterns": [ "react" ], "testMatch": [ "**/?(*.)(spec|test).js?(x)" ] }, "license": "MIT" }