generator-react-modules
Advanced tools
Comparing version 0.0.2 to 0.0.3
// @flow | ||
import React from 'react'; | ||
import { connect } from 'react-redux'; | ||
const R = require('ramda'); | ||
const _ = require('lodash'); | ||
import R from 'ramda'; | ||
import actions from '../actions'; | ||
@@ -15,3 +15,3 @@ import <%= componentName %> from './<%= componentName %>'; | ||
actions.___, | ||
dispatch | ||
dispatch, | ||
)(ownProps), | ||
@@ -22,5 +22,5 @@ }); | ||
mapStateToProps, | ||
mapDispatchToProps | ||
mapDispatchToProps, | ||
)(<%= componentName %>); | ||
export default <%= componentName %>Container | ||
export default <%= componentName %>Container; |
// @flow | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
@@ -12,4 +13,4 @@ | ||
</<%= componentName %>Container>, | ||
document.createElement('div') | ||
document.createElement('div'), | ||
); | ||
}); |
// @flow | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
@@ -3,0 +4,0 @@ |
// @flow | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
@@ -9,4 +10,4 @@ | ||
<<%= componentName %> />, | ||
document.createElement('div') | ||
document.createElement('div'), | ||
); | ||
}); |
{ | ||
"name": "generator-react-modules", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Yeoman generator for react modules architecture", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
@@ -15,3 +15,3 @@ # generator-react-modules [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url] | ||
##### Module Generation Notes | ||
##### Module Generation | ||
@@ -25,3 +25,3 @@ ```bash | ||
##### Component Generation Notes | ||
##### Component Generation | ||
@@ -37,3 +37,3 @@ ```bash | ||
##### Presentation Component Generation Notes | ||
##### Presentation Component Generation | ||
@@ -47,3 +47,3 @@ ```bash | ||
##### Container Component Generation Notes | ||
##### Container Component Generation | ||
@@ -63,2 +63,4 @@ ```bash | ||
- Add CI. | ||
- Add architecture references and reading to readme. | ||
- Add sample structure diagram to readme. | ||
@@ -65,0 +67,0 @@ |
13875
264
76