gru

generator-react-up

Yeoman Generator to speed up your React Development.

Showing:

Popularity

Downloads/wk

4

GitHub Stars

9

Maintenance

Last Commit

3yrs ago

Contributors

3

Package

Dependencies

6

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Github Stars          Github Forks          GitHub watchers       Github Issues

NPM Total Downloads   NPM Monthly Downloads

NPM License           NPM Version

Node Dependencies

React-Up

This is a simple Yeoman Generator to help speed up the stubbing of a React <Component />. Each component is treated as an individual Module / Package with all files being co-located including optional tests.

Installation

Install Yeoman and this generator using NPM. Assuming NodeJS is installed:

# Install yeoman and the generator
npm install -g yo
npm install -g generator-react-up

# Run the initial setup (should be run from the project root)
yo react-up

Default Methods:

Since Yeoman is kind enough to create a generator-generator... I've made this generator even more customizable for you.

The goal of react-up was to reduce the boiler plate required and improve consistency. So far, this generator has saved me a ton of time, enough so that I've decided to upgrade yet again.

This generator is now much more customizable. You can easily create mappings and exist the current templates to fit your particular needs.

# Pure function
yo react-up <ComponentName>

# React Component
yo react-up <ComponentName> class

# Test file
yo react-up <name> test

# Setup (can be run at anytime)
yo react-up:setup

Customization:

To create or modify existing methods available, simply update the mappings.js within your local template folder.

License

Apache-2.0 © Matthew D. Shelley

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100