This project is a template to quickly get a new React project up and running. It was generated by Create React App, and filled with various features:
- Basic CRA features (link)
- ESLint with Airbnb Javascript style
- Prettier enforcing the eslint rulse
- Various other scripts
In the project directory, you can run:
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.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
This will run eslint on all ts,js,tsx and jsx files. Eslint config can be found here.
This will run prettier over all .ts,.js,.tsx and .jsx files. Prettier config can be found here.
This will run both yarn lint
and yarn format
to get your code ready before you want to commit/push!
This will yarn test
with the flags --watchAll=false --coverage
to get a quick overview from the code coverage for the tests that ran.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.