Skip to content
Code Generator for React components, Redux and more
TypeScript JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tools
.editorconfig
.gitignore
.npmignore
LICENSE
README.md
package-lock.json
package.json
publish.sh
tsconfig.json

README.md

@scalable/reactgen

TypeScript Code Generator for React components, Redux and more done right.

Installation

  • npm install @scalable/reactgen --save-optional

Usage

Most of the commands should be executed in the folder where the target should be created.

Stateless Functional Components

npx schematics @scalable/reactgen:sfc <ComponentName> [parameter]

Parameters

Type Name Description Default
required {string} name The name of the component. none
{string} path The path to create the component none
{boolean} subfolder Flag to indicate if a dir is created true

Credit

This project is inspired by schematics-react

You can’t perform that action at this time.