1.0.1 • Published 7 years ago

generator-react-up v1.0.1

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
7 years ago

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

1.0.1

7 years ago

1.0.0

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago