Skip to content

Merkur39/cra-plus

Repository files navigation

cra-plus


npm version

Overview

cra-plus uses create-react-app with a better architecture and offers several choices to configure your project

❗ Important ❗

cra-plus is curently in development, please keep an eye on the current version and update your version accordingly with command:

  • npm i -g cra-plus

Use cra-plus

  • npm i -g cra-plus

Commands:

  • Create New Application.

    • crap new <appName> [options Application]
  • Create new Component.

    • crap component|c <component> [options Component]
  • Create new Service.

    • crap service|s <service> [options Service]
  • If the application was created with the "--class" command, the future components created will no longer be Classes.

    • crap stop class

Options Application:

  • Generate Typescript Application.

    • --typescript
  • With Preprocessor SASS.

    • --sass
  • Generate Application with Class components, the future components will be created with Classes.

    • --class

Options Component:

  • Don't create test file for this component.

    • --skipTests
  • Create Class Component.

    • --class

Options Service:

  • Don't create test file for this service.
    • --skipTests

Soon...

  • Typescript choice.,
  • Auto-commit new architecture.
  • Add CLI commands (in Progress).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published