Frontend Boilerplate with React, Redux & TypeScript
A bare minimum react-redux-webpack-typescript boilerplate with TodoMVC example.
Note that this project does not include Server-Side Rendering, Static code analysis, Testing Frameworks and other stuffs that makes the package unnecessarily complicated. (e.g. yarn, tslint, jest, ...)
If needed, please fork this repository and add your own that meets your requirements.
Ideal for creating React apps from the scratch.
See also: react-mobx-typescript-boilerplate
Contains
- Typescript 3
- React 16.8
- Redux 4
- React Router 4.3
- Redux DevTools Extension
- TodoMVC example
Build tools
- Webpack 4
- Typescript Loader
- PostCSS Loader
- React Hot Loader
- Mini CSS Extract Plugin
- HTML Webpack Plugin
Installation
$ npm ci
Running
$ npm start
Build
$ npm run build
GitHub Pages)
Deploy (to the$ npm run deploy
Prettier)
Format code (using$ npm run prettier
License
MIT