1.0.8 • Published 4 years ago
cra-template-tscomplete v1.0.8
cra-template-tscomplete
This is yet another TypeScript template for Create React App.
To use this template, add --template tscomplete when creating a new app.
For example:
npx create-react-app my-app --template tscomplete
# or
yarn create react-app my-app --template tscompleteThis template creates a React app with:
- React 18
- TypeScript 4.6
- Redux Toolkit
- Sass
- Service Worker (see https://cra.link/PWA)
There are test examples for React components, React components with Redux, Redux reducers.
Additional scripts
npm lint or yarn lint
Compiles and then lints all Typescript files (.ts, .tsx).
npm lint:fix or yarn lint:fix
Lints and applies fixes on all Typescript files (.ts, .tsx).
npm lint:watch or yarn lint:watch
Watches and lints (does not compile) all Typescript files (.ts, .tsx).
For more information, please refer to:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.