1.0.54 • Published 1 year ago
@inspireitdev/react-cli v1.0.54
Inspire React CLI
This tool was done to help create React resources for Inspire IT React Boilerplate.
Requirements
- Node
- Yarn or NPM
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
yarn
ornpm
- 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
1 year ago
1.0.54
1 year ago
1.0.53
1 year ago
1.0.52
1 year ago
1.0.44
2 years ago
1.0.43
2 years ago
1.0.48
2 years ago
1.0.47
2 years ago
1.0.46
2 years ago
1.0.45
2 years ago
1.0.49
2 years ago
1.0.50
2 years ago
1.0.39
2 years ago
1.0.38
2 years ago
1.0.40
2 years ago
1.0.42
2 years ago
1.0.41
2 years ago
1.0.37
2 years ago
1.0.36
2 years ago
1.0.35
2 years ago
1.0.26
3 years ago
1.0.29
3 years ago
1.0.28
3 years ago
1.0.27
3 years ago
1.0.33
3 years ago
1.0.32
3 years ago
1.0.31
3 years ago
1.0.30
3 years ago
1.0.34
3 years ago
1.0.24
3 years ago
1.0.23
3 years ago
1.0.22
3 years ago
1.0.19
3 years ago
1.0.18
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago