Inside the project directory run:
yarn start
- runs the app in the development mode. Open http://localhost:3000 to view it in the browser.yarn test
- launches the test runner in the interactive watch mode.yarn build
- builds the app for production to thebuild
folder.yarn build:serve
- run a local static build using the production build using serve library. Installyarn install -g serve
.yarn build:profile
- profiling production build.yarn eject
- exposes content ofreact-script
packageyarn lint
- lints project files according to Airbnb — as part of their style guide 👍 — it provides an ESLint configuration that anyone can use and it is the standard.yarn fix
- fix lints issues according to style guide set.yarn format
- will format your code prettier using opinionated settings inside.prettierrc
file.yarn isready
- will check if the code is ready for showtime (production), run lint, format and build.yarn test:e2e
- run e2e integration testing with the help of Jest & Puppeteer.yarn test:e2e-watch
- same as test:e2e just with a watcher.yarn test:e2e-alone
- stand-alone e2e integration testing NodeJS script for testing using Puppeteer.yarn test:debug
- debug your jest tests using the debugger statement, more info here.yarn coverage
- this test is to create a coverage report at needs extra setting in order to work as expected.analyze
- source-map-explorer to Analyzer Bundle.analyzer
- uses cra-bundle-analyzer to Analyzer Bundle.
CRA template only support scripts
and dependencies
inside generated package.json
. No devDependencies
is possible on CRA template for now.