Flight / react-app-with-testing

Initial setup for react app with cypress + jest + eslint + dart-sass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inital setup for ReacJS app

Framework: ReactJS

Unit-tests: Jest + React Testing Library

Integration tests: Cypress

Scss implementation: Dart Sass

Linters: eslint with airbnb config, stylelint, prettier

Available Scripts

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.\

yarn cy

Launches the cypress tests runner. Please don't forget to launch the application before running the tests.

yarn lint

Launches the eslint (typescript) linter.

yarn stylelint

Launches the stylelint (scss) check.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

About

Initial setup for react app with cypress + jest + eslint + dart-sass


Languages

Language:TypeScript 39.6%Language:JavaScript 32.6%Language:HTML 22.6%Language:SCSS 5.2%