@sultanyaron/component-generator
v0.6.2
Published
A component generator CLI for redis FE developers
Downloads
15
Maintainers
Readme
component-generator
Usage
npx @sultanyaron/component-generator
The cli is using prompt to get the component name and the required template
Templates
- Reusable component (styles, types, tests and a story)
- Component with test (styles, types and test)
- Custom (Choose files)
- Style (
MyComponent.style.ts
) - Types (
MyComponent.types.ts
) - Test (
MyComponent.test.ts, myComponentSetup.ts, myComponentTestUtils.ts
) - Story (
MyComponent.story.tsx
)
- Style (
Contribute
npm install
npm run dev
npm test
npm link
- use
component-generator
Where ever you want to test your changes - Update the CHANGELOG.md inside the unreleased section, please follow the CHANGELOG convention
- Create pull request
- Wait for CI to pass
- Merge