react-redux-simple
Advanced tools
Comparing version 0.2.0 to 0.3.0
20
index.js
@@ -1,2 +0,2 @@ | ||
let ReactRedux = require("react-redux"); | ||
import * as ReactRedux from "react-redux"; | ||
@@ -79,3 +79,5 @@ /** | ||
function connect(component) { | ||
export const Provider = ReactRedux.Provider; | ||
export function connect(component) { | ||
let selectors = component.selectors; | ||
@@ -90,11 +92,7 @@ let actions = component.actions; | ||
// Private | ||
exports._createMapDispatchToProps = createMapDispatchToProps; | ||
exports._createMapStateToProps = createMapStateToProps; | ||
exports._createFullMapStateToProps = createFullMapStateToProps; | ||
exports._createBasicMapStateToProps = createBasicMapStateToProps; | ||
exports._createFullMapDispatchToProps = createFullMapDispatchToProps; | ||
export const _createMapDispatchToProps = createMapDispatchToProps; | ||
export const _createMapStateToProps = createMapStateToProps; | ||
export const _createFullMapStateToProps = createFullMapStateToProps; | ||
export const _createBasicMapStateToProps = createBasicMapStateToProps; | ||
export const _createFullMapDispatchToProps = createFullMapDispatchToProps; | ||
// Public | ||
exports.Provider = ReactRedux.Provider; | ||
exports.connect = connect; |
{ | ||
"name": "react-redux-simple", | ||
"description": "A selector friendly shortcut for React-Redux", | ||
"version": "0.2.0", | ||
"main": "index.js", | ||
"version": "0.3.0", | ||
"main": "dist/react-redux-simple.js", | ||
"author": "Dan Prince", | ||
"license": "MIT", | ||
"source": "index.js", | ||
"module": "dist/react-redux-simple.esm.js", | ||
"umd:main": "dist/react-redux-simple.umd.js", | ||
"scripts": { | ||
"test": "tape tests.js | tap-spec" | ||
"test": "tape tests.js | tap-spec", | ||
"build": "microbundle build", | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -15,2 +20,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"microbundle": "^0.4.4", | ||
"react": "^16.3.2", | ||
@@ -17,0 +23,0 @@ "react-redux": "^5.0.7", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115287
8
7
143