Minimal starter kit with hot module replacement for fast development.
Main features
- React (15.x)
- Redux (3.x)
- Webpack (2.x)
- Typescript (2.x)
- Hot Module Replacement (HMR) using React Hot Loader (3.x)
- Babel (6.x)
- SASS
- Jest - Testing framework for React applications
- Enzyme - Testing utility for React
Additional features
- Image loading/minification using Image Webpack Loader
- Typescript compiling using Awesome Typescript Loader (3.x)
- Code quality (linting)
- Typescript - TSLint (4.x)
- SASS/CSS - stylelint (rules: stylelint-config-standard)
- Clone/download repo
npm install
General
npm start
- Compiles the app
- Starts a web server hosting the app @
http://localhost:8080
- Watches for changes and injects them without reloading the browser
Other commands
npm run lint
- Run Typescript and SASS linternpm run lint:ts
- Run Typescript linternpm run lint:sass
- Run SASS linternpm run test
- Run tests (Jest)
- Create React App (by FaceBook) - Good starting point when learning React
- Webpack & Typescript
- Build script
- Asset revisioning / cache bursting
- React router