Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-react-modules

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-react-modules - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

10

generators/container-component/templates/_Component.js
// @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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc