UNPKG

react-redux-pledge

Version:

Enhance your connected component by rendering them only when their props are guaranteed

89 lines (88 loc) 3.34 kB
{ "name": "react-redux-pledge", "version": "0.1.2", "description": "Enhance your connected component by rendering them only when their props are guaranteed", "main": "./lib/index.js", "scripts": { "build:lib": "babel src --out-dir lib", "build:umd": "cross-env NODE_ENV=development webpack src/index.js dist/react-redux-pledge.js", "build:umd:min": "cross-env NODE_ENV=production webpack src/index.js dist/react-redux-pledge.min.js", "build": "npm run build:lib && npm run build:umd && npm run build:umd:min && node ./prepublish", "clean": "echo 'clean'", "lint": "eslint src", "prepublish": "npm run test && npm run clean && npm run build", "test": "echo 'test'", "test:watch": "npm test -- --watch", "test:cov": "babel-node ./node_modules/isparta/bin/isparta cover ./node_modules/mocha/bin/_mocha -- --recursive \"src/**/__tests__/*\" --require src/__tests__/setup.js", "test:codecov": "cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js" }, "repository": { "type": "git", "url": "git+https://github.com/PCreations/react-redux-pledge.git" }, "files": [ "dist", "lib", "src" ], "keywords": [ "react", "reactjs", "redux", "data", "bindings", "pledge", "promise" ], "author": "Pierre Criulanscy", "license": "MIT", "bugs": { "url": "https://github.com/PCreations/react-redux-pledge/issues" }, "homepage": "https://github.com/PCreations/react-redux-pledge#readme", "devDependencies": { "babel-cli": "^6.3.17", "babel-loader": "^6.2.0", "babel-plugin-check-es2015-constants": "^6.3.13", "babel-plugin-syntax-jsx": "^6.3.13", "babel-plugin-transform-es2015-arrow-functions": "^6.3.13", "babel-plugin-transform-es2015-block-scoped-functions": "^6.3.13", "babel-plugin-transform-es2015-block-scoping": "^6.3.13", "babel-plugin-transform-es2015-classes": "^6.3.13", "babel-plugin-transform-es2015-computed-properties": "^6.3.13", "babel-plugin-transform-es2015-destructuring": "^6.3.13", "babel-plugin-transform-es2015-for-of": "^6.3.13", "babel-plugin-transform-es2015-function-name": "^6.3.13", "babel-plugin-transform-es2015-literals": "^6.3.13", "babel-plugin-transform-es2015-modules-commonjs": "^6.3.13", "babel-plugin-transform-es2015-object-super": "^6.3.13", "babel-plugin-transform-es2015-parameters": "^6.3.13", "babel-plugin-transform-es2015-shorthand-properties": "^6.3.13", "babel-plugin-transform-es2015-spread": "^6.3.13", "babel-plugin-transform-es2015-sticky-regex": "^6.3.13", "babel-plugin-transform-object-rest-spread": "^6.3.13", "babel-plugin-transform-react-display-name": "^6.4.0", "babel-plugin-transform-react-jsx": "^6.4.0", "babel-plugin-transform-regenerator": "^6.3.13", "babel-register": "^6.3.13", "cross-env": "^1.0.7", "es3ify": "^0.2.0", "glob": "^6.0.4", "mocha": "^3.0.2", "react": "^0.14.0", "react-redux": "^4.4.5", "redux": "^3.0.0", "redux-saga": "^0.10.4", "webpack": "^1.11.0" }, "dependencies": { "lodash": "^4.2.0", "recompose": "^0.20.0" }, "peerDependencies": { "react": "^0.14.0 || ^15.0.0-0", "redux": "^2.0.0 || ^3.0.0", "react-redux": "^4.4.5", "redux-saga": "^0.10.4" } }