@scalable/reactgen

0.4.1 • Public • Published

@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

/@scalable/reactgen/

    Package Sidebar

    Install

    npm i @scalable/reactgen

    Weekly Downloads

    10

    Version

    0.4.1

    License

    MIT

    Unpacked Size

    24 kB

    Total Files

    24

    Last publish

    Collaborators

    • tangent