1.0.2 • Published 2 years ago

cra-template-ts-basic v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

cra-template-ts-basic

React template in TypeScript with eslint and prettier configuration. This project was bootstrapped with Create React App.

Usage

npx create-react-app my-app --template cra-template-ts-basic

Or

yarn create react-app your-project-name --template ts-basic

Available Scripts

  • yarn start - runs the app in the development mode

  • yarn test - launches the test runner in the interactive watch mode

  • yarn build - builds the app for production to the build folder

  • yarn eject - exposes content of react-script package

  • yarn lint - runs linter in the project files based on eslint rules

  • yarn lint:fix - rus linter and fixes errors when possible

  • yarn format - runs prettier in the project files based on .prettierrc rules