UNPKG

react-reffect

Version:

Create components whose prop changes map to a global side effect with the power of redux and new Context API

94 lines (93 loc) 2.72 kB
{ "name": "react-reffect", "version": "2.3.2", "description": "Create components whose prop changes map to a global side effect with the power of redux and new Context API", "source": "src/index.js", "main": "lib/react-reffect.js", "module": "lib/react-reffect.esm.js", "umd:main": "lib/react-reffect.umd.js", "sideEffects": false, "scripts": { "build": "node build.js", "clean": "rimraf lib", "prepare": "npm test && npm run clean && npm run build", "test": "NODE_ENV=test mocha", "test:watch": "NODE_ENV=test mocha --watch", "test:cov": "NODE_ENV=test babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha" }, "repository": { "type": "git", "url": "https://github.com/openameba/react-reffect.git" }, "keywords": [ "react", "component", "side", "effect", "thread-safe", "renderToNodeStream", "renderToNodeStaticStream", "context", "provider", "consumer", "redux" ], "author": "Bin Hou (https://github.com/kouhin)", "license": "MIT", "bugs": { "url": "https://github.com/openameba/react-reffect/issues" }, "homepage": "https://github.com/openameba/react-reffect", "contributors": [ "Dan Abramov <dan.abramov@me.com> (http://github.com/gaearon)", "Louis DeScioli <louis.descioli@gmail.com>" ], "dependencies": { "create-react-context": "^0.2.3", "exenv": "^1.2.2", "hoist-non-react-statics": "^3.0.1", "prop-types": "^15.6.2", "redux": "^4.0.0", "shallowequal": "^1.1.0" }, "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/register": "^7.0.0", "babel-eslint": "^9.0.0", "chai": "^4.1.2", "eslint": "^5.5.0", "eslint-config-prettier": "^3.0.1", "eslint-plugin-import": "^2.14.0", "eslint-plugin-prettier": "^2.6.2", "eslint-plugin-react": "^7.11.1", "gzip-size": "^5.0.0", "isparta": "^4.1.0", "jsdom": "^12.0.0", "mocha": "^5.2.0", "nyc": "^13.0.1", "prettier": "^1.14.2", "pretty-bytes": "^5.1.0", "react": "^16.4.2", "react-dom": "^16.4.2", "react-test-renderer": "^16.4.2", "rimraf": "^2.4.3", "rollup": "^0.65.2", "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-babel": "^4.0.3", "rollup-plugin-commonjs": "^9.1.6", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-uglify": "^5.0.2" }, "files": [ "LICENSE", "README.md", "lib", "src" ] }