react-redux-lifecycle
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "react-redux-lifecycle", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A higher-order component to dispatch actions on react lifecycle methods", | ||
@@ -15,3 +15,3 @@ "author": "Michael Peyper", | ||
"start": "npm run test:watch", | ||
"dist": "babel src --out-dir lib --copy-files", | ||
"build": "babel src --out-dir lib --copy-files", | ||
"lint": "eslint src/ --ext .js --ext .jsx", | ||
@@ -21,3 +21,3 @@ "lint:fix": "eslint src/ --ext .js --ext .jsx --fix", | ||
"test:watch": "npm test -- --watch", | ||
"prepublish": "npm run dist" | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -24,0 +24,0 @@ "dependencies": { |
@@ -6,3 +6,3 @@ React Redux Lifecycle | ||
[![npm downloads](https://img.shields.io/npm/dm/react-redux-lifecycle.svg?style=flat-square)](https://www.npmjs.com/package/react-redux-lifecycle) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](LICENSE) | ||
[![License: MIT](https://img.shields.io/npm/l/react-redux-lifecycle.svg?style=flat-square)](LICENSE.md) | ||
@@ -9,0 +9,0 @@ Often, actions need to be dispatched as part of the [React lifecycle](https://facebook.github.io/react/docs/react-component.html#the-component-lifecycle). In many cases, the only reason to extend [`React.Component`](https://facebook.github.io/react/docs/react-component.html) instead of using [functional components](https://facebook.github.io/react/docs/components-and-props.html#functional-and-class-components) is to do this. |
22611
19