1.0.8 • Published 1 year ago

@disaythis/gen-rtsc v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

I modified this package for my needs.

React Typescript Component Generator is a cli for generating react component for typescript based architucture.

Install

# Global installation
$ npm install --global @disaythis/gen-rtsc
# Local installation
$ npm install --save-dev @disaythis/gen-rtsc

Usage

$ gen-rtsc <componentName>

<componentName> is the name of component that can be with or without directory.

  • ./src/components/ComponentName this will generate component named ComponentName in the directory ./src/components/ComponentName

  • ComponentName this will generate component named ComponentName in the directory ./ComponentName

Generate React Stateless Component

$ gen-rtsc css <componentName> //  Generate React Stateless Component css
# or
$ gen-rtsc scss <componentName> // Generate React Stateless Component scss
# or
$ gen-rtsc <componentName> // Generate React Stateless Component scss
1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago