0.0.1 • Published 8 years ago

generator-atomic-reactor v0.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

generator-atomic-reactor

A Yeoman generator for React components under a similar Atomic design principle

Since this is for SPAs and React components, I believe that only the atom, molecule and organism are enough to build the App. You can find more about this on my post here

To match the folder organization from this great generator react-webpack I made that the files were generated inside the src/components folder so it will be fewer steps to integrate.

Run

yo atomic-reactor:atom my_component

yo atomic-reactor:molecule my_component

yo atomic-reactor:organism my_component

create src/components/organisms/my_component/MyComponent.js

create src/components/organisms/my_component/stylesheets/my_component.scss

create src/components/organisms/my_component/tests/my_component.js