1.2.2 • Published 1 year ago
cra-template-typescript-blank v1.2.2
cra-template-typescript-blank
This is a TypeScript template for Create React App which is entirely blank.
No spinning logo, no unnecessary boilerplate code.
In addition to the official TypeScript template, the following dependencies are included by default:
classnameseslint-plugin-jsx-a11yeslint-plugin-sonarjsprettierreact-router-domstylelintstylelint-config-standardstylelint-prettier
Furthermore, there are the following additions:
- HTTPS is enabled in development and test mode
- Some additional npm scripts are available:
npm run lint-jsto run ESLintnpm run lint-cssto run Stylelintnpm run lintto run both ESLint and Stylelintnpm run prettierto run a Prettier check
- A GitHub actions workflow is available that runs build, test, and linters on pull requests
- ESLint configuration is extended to include recommended rules from:
eslint-plugin-jsx-a11yeslint-plugin-sonarjs
To use this template, add --template typescript-blank when creating a new app.
For example:
npx create-react-app my-app --template typescript-blank
# or
yarn create react-app my-app --template typescript-blankFor more information, please refer to:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.