1.0.2 • Published 4 years ago
cra-template-ts-basic v1.0.2
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-basicOr
yarn create react-app your-project-name --template ts-basicAvailable Scripts
yarn start- runs the app in the development modeyarn test- launches the test runner in the interactive watch modeyarn build- builds the app for production to thebuildfolderyarn eject- exposes content ofreact-scriptpackageyarn lint- runs linter in the project files based on eslint rulesyarn lint:fix- rus linter and fixes errors when possibleyarn format- runs prettier in the project files based on .prettierrc rules