/weather-acc

Primary LanguageTypeScript

Weather accuracy front

Created by Create React App (CRA) with Must-Have Libraries (MHL) Template

Run Scripts

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 the build folder.
  • yarn build:serve - run a local static build using the production build using serve library. Install yarn install -g serve.
  • yarn build:profile - profiling production build.
  • yarn eject - exposes content of react-script package
  • yarn 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.