Takes the created app from create-react-app yarn create react-app practice-app --template typescript
and adds a few additional pieces of boiler plate:
- Adds eslint for linting
yarn run lint
- Adds prettier for tidying
yarn run prettier-format
- Adds css module support for TSX components
Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.
The page will automatically reload if you make changes to the code.
You will see the build errors and lint warnings in the console.
Runs the test watcher in an interactive mode.
By default, runs tests related to files changed since the last commit.
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.