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

@personare/slush-react-component-generator

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@personare/slush-react-component-generator

A slush generator for create a React component in isolation.

  • 6.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

  • Requirements
    1. Node >= 6.0
    2. Slush

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

Keywords

FAQs

Package last updated on 14 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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