init-cra
v0.4.5
Published
Adds a better boilerplate to the default CRA template
Downloads
6
Maintainers
Readme
init-cra (CRA Project Files)
Install globally with npm install -g init-cra
.
You can run init-cra
in a fresh CRA repo to add these helper files.
Options
-s / --server
Applying this flag will install express
and body-parser
, along with creating a server folder and a basic Express API scaffold. This will also update your package.json
file to start the server and proxy it to your CRA app.
-nc / --no-commit
Applying this flag will skip automatically committing the files created and altered by init-cra
-nl / --no-lock
Applying this flag will stop packages from being locked automatically