Skip to content

Create-React-App template with TypeScript, Redux Toolkit, Redux-Saga, Sass, and StoryBook

License

Notifications You must be signed in to change notification settings

rabbithunter0502/cra-template-tscomplete

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • TypeScript
  • Redux Toolkit
  • Redux-Saga
  • Sass

There are test examples for React components, React components with Redux, Redux reducers, and Sagas. Saga testing is done with Redux-Saga Test Plan.

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).

npm storybook or yarn storybook

Start the Storybook explorer on port 9009

npm build-storybook or yarn build-storybook

Build the storybook configured in the Storybook directory into a static web app and place it inside the storybook-static directory.

For more information, please refer to:

About

Create-React-App template with TypeScript, Redux Toolkit, Redux-Saga, Sass, and StoryBook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.5%
  • HTML 10.0%
  • CSS 5.4%
  • JavaScript 1.1%