npm.io
1.0.8 • Published 4 years ago

cra-template-tscomplete

Licence
MIT
Version
1.0.8
Deps
0
Size
48 kB
Vulns
0
Weekly
0

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 tscomplete

This template creates a React app with:

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:

Keywords