1.0.54 • Published 4 years ago

@inspireitdev/react-cli v1.0.54

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Inspire React CLI

This tool was done to help create React resources for Inspire IT React Boilerplate.

Requirements

Install:

yarn global add @inspireitdev/react-cli

or

npm install -g @inspireitdev/react-cli

Commands:

inspire-react --help

Usage: inspire-react [options] [command]

CLI tool to create resources for InspireIT React Boilerplate

Options:
  -V, --version                                                       output the version number
  -d --destination <destination>                                      Where resources should be created. (default: "./src")
  -h, --help                                                          display help for command

Commands:
  component [options] <module-or-component-or-path> [component-name]
  hook [options] <module-or-hook-or-path> [hook-name]
  page [options] <module> <page-name>
  service [options] <module> <service-name>
  store [options] <module> <store-name>
  domain [options] <module> <domain-name> [domain-type]
  util [options] <path-or-util-name> [util-name]
  file [options] <file-path>
  create-app [options] <app-name>
  help [command]                                                      display help for command

Create a new React App:

inspire-react create-app <app-name>

TODO

  • Add option to choose between yarnor npm
  • Detect if application directory already exists when executing create-app
  • When creating a resource, request a confirmation input with a summary of what will be created.
  • Make selecting a State Library optional when creating an app.
  • Add a subcommand to remove resources.
  • Add feature to also create the Boilerplate using NextJS.
  • Automatically add to route configuration when creating a page.
  • Add new command to uninstall TailwindCSS
1.0.51

4 years ago

1.0.54

4 years ago

1.0.53

4 years ago

1.0.52

4 years ago

1.0.44

4 years ago

1.0.43

4 years ago

1.0.48

4 years ago

1.0.47

4 years ago

1.0.46

4 years ago

1.0.45

4 years ago

1.0.49

4 years ago

1.0.50

4 years ago

1.0.39

4 years ago

1.0.38

4 years ago

1.0.40

4 years ago

1.0.42

4 years ago

1.0.41

4 years ago

1.0.37

4 years ago

1.0.36

4 years ago

1.0.35

5 years ago

1.0.26

5 years ago

1.0.29

5 years ago

1.0.28

5 years ago

1.0.27

5 years ago

1.0.33

5 years ago

1.0.32

5 years ago

1.0.31

5 years ago

1.0.30

5 years ago

1.0.34

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago