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.
-s / --server
Applying this flag will install
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