@personare/slush-react-component-generator

6.0.2 • Public • Published

React Component Generator Build Status

A slush generator for create a React component in isolation

The idea of creating this generator components was based on the design structure them in isolation. Where we believe the web should be built this way. It is customized based on some current needs and preferences of Personare but you can easily change.

Feel free to suggest improvements =]

How we made

To define the structure we use an internal process called DSS (Design Structure Sprint) that through a short sprint it allows us to stay focused and aligned with the solution.

Environment

React Storybook - to tell stories with different behaviors of the component and provide an example page.

Style Guide

Tests

  • Jest - test framework

Compiler

The structure

├── .babelrc
├── .editorconfig
├── .eslintrc.json
├── .github
│   ├── ISSUE_TEMPLATE.md
│   └── PULL_REQUEST_TEMPLATE.md
├── .gitignore
├── .scrutinizer.yml | .travis.yml | circle.yml
├── .storybook
│   ├── config.js
│   ├── webpack.config.js
│   └── webpack.dist.config.js
├── README.md
├── contributing.md
├── package.json
├── src
│   ├── MyFirstComponent.css
│   ├── MyFirstComponent.js
│   └── MyFirstComponent.story.js
└── tests
    ├── MyFirstComponent.test.js
    └── mock-browser.js

Installation

After install the requirements, run the following command:

[sudo] npm i -g @personare/slush-react-component-generator

Usage

Create a new folder for your project:

mkdir my-first-component && cd my-first-component

Run the generator:

slush react-component-generator

Team

This generator was made with love by contributors.

Creator

Profile image of Cauê Alves | --- | --- | --- | --- | --- | --- | --- Cauê Alves |

Participated in sprint

Profile image of Pedro Gustavo | Profile image of Abilio Bittencurt --- | --- | --- | --- | --- | --- | --- Pedro Gustavo | Abilio Bittencourt

License

MIT © Personare

Dependents (0)

Package Sidebar

Install

npm i @personare/slush-react-component-generator

Weekly Downloads

1

Version

6.0.2

License

MIT

Last publish

Collaborators

  • persotreque
  • personare-monalisa
  • lucas.dantas
  • luismendes9
  • kassyn
  • ceasbz
  • h.chalhoub
  • d.emerique
  • personare.devops
  • dtfialho