2.5.1 • Published 6 months ago

rsb-gen v2.5.1

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

rsb-gen

Automate react component creation with a corresponding storybook component with a simple command. The below command creates the component in the project root.

npx rsb-gen ComponentName

Component location

Specify the component path from the project root.

npx rsb-gen src/components/atoms/MainCard

Test file (Optional)

Valid options are -c, --cypress, -j, --jest.

npx rsb-gen src/components/atoms/MainCard --cypress

Files

_.tsx
_.stories.tsx
_.test.tsx
_.index.ts

Typescript

Right now, this package only generates typescript files.

Sample output

Output log

2.5.0

6 months ago

2.5.1

6 months ago

2.4.1

2 years ago

2.4.0

2 years ago

2.4.2

2 years ago

2.3.0

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.1

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago