3.0.1 • Published 1 year ago

@ancientbag/create-react-templates v3.0.1

Weekly downloads
16
License
MIT
Repository
github
Last release
1 year ago

create-react-templates

This package lets you creating templates with CLI commands.

Using strictly with typescript
May be used additionaly with following packages:

  • jest
  • testing-library/react
  • testing-library/react-hook
  • storybook

Getting started

Create crt.config.js in root directory. Specify components and hooks folders for output:

module.exports = {
  output: {
    components: "./src/components",
    hooks: "./src/hooks",
  },
};

Usecreate-react-templates providing next flags:

isRequiredproptype
truetypestring: component / hook
truenamestring
Example:

create-react-templates --type=component --name=MyComponent

ToDo

  • Configurable templates
  • CLI interactive menu
  • Beautify CLI output
3.0.1

1 year ago

3.0.0

1 year ago

1.0.0

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago