npm i -g @tsivinsky17/new-project
For see version of your package, add -v or --version flag
new-project -v
Or
new-project --version
For see help message, add -h or --help flag
new-project -h
Or
new-project --help
new-project <PROJECT_TYPE> <PROJECT_NAME>
new-project react <PROJECT_NAME>
- --proxy
This flag allows you to set proxy field to webpack config file
new-project react react-app --proxy=http://localhost:5000
new-project express <PROJECT_NAME>
new-project electron <PROJECT_NAME>
- --main-file
This flag allows you to change main file name of new project, like this:
new-project react react-app --main-file=app.js
- --yarn
This flag allows you to set default package manager to yarn.
new-project react react-app --yarn