1.0.8 • Published 10 years ago

reactgen v1.0.8

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

reactgen

Generate React component

Requirements

  • Node >= 5.0.0

Installation

npm install reactgen -g

Usage

reactgen <filename> <directory> [option]

Example

reactgen AwesomeFile awesome -C

Options:

-P, --presentational  Create inline function component
-C, --container       Create class-based component

Default Path

You can set your default root path by creating .env file in your root directory and add REACTGEN_DEFAULT_ROOT_PATH = 'your/path'

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago