react-redux-with-path
Version:
A version of react-redux designed for cases that want to access sub-tree of the state. and take it as state in mapStateToProps and mapDispatchToProps
50 lines (49 loc) • 1.37 kB
JSON
{
"name": "react-redux-with-path",
"version": "0.0.6",
"description": "A version of react-redux designed for cases that want to access sub-tree of the state. and take it as state in mapStateToProps and mapDispatchToProps",
"main": "dist/bundle.js",
"scripts": {
"build": "npm-run-all build:lib build:dist",
"build:lib": "babel src --ignore **/*.spec.js --out-dir lib",
"build:dist": "./node_modules/.bin/webpack --config webpack.config.js",
"clean": "rimraf lib dist",
"prepublish": "npm-run-all clean build",
"test": "mocha --compilers js:babel-register src/**/*.spec.js",
"test:watch": "npm test -- -w"
},
"keywords": [
"react-redux",
"path",
"subtree",
"state"
],
"dependencies": {
"hoist-non-react-statics": "^1.0.3",
"invariant": "^2.0.0",
"lodash": "^4.2.0",
"loose-envify": "^1.1.0"
},
"peerDependencies": {
"react": "^15.0.0",
"redux": "^3.0.0"
},
"author": "Zheng He <zhenghe@madadata.com>",
"license": "MIT",
"devDependencies": {
"babel": "6.5.2",
"babel-loader": "6.2.4",
"babel-preset-es2015": "6.9.0",
"babel-preset-react": "6.11.1",
"babel-preset-stage-0": "6.5.0",
"expect": "1.20.2",
"ghooks": "1.3.2",
"mocha": "2.5.3",
"webpack": "1.13.1"
},
"config": {
"ghooks": {
"pre-push": "npm run clean"
}
}
}