0.9.3 • Published 1 year ago
crc-react v0.9.3
create-component
Boiler plate generator for a given React project structure.
tl;dr
npx create-component [nameOfComponent]
creates the folling boiler plate files.
⌙ src
⌙ components
⌙ NameOfComponent
⌙ NameOfComponent.js
⌙ NameOfComponent.module.scss
⌙ NameOfComponent.stories.js
⌙ index.js
Component generation
Boiler plate files are created using index pattern.
Assumes a project structure with components organized in src/components
-folder.