Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pepaar/typescript-webpack-react-redux-boilerplate

React and Redux with TypeScript
https://github.com/pepaar/typescript-webpack-react-redux-boilerplate

babel boilerplate css-modules flux react redux tslint typescript webpack

Last synced: about 2 months ago
JSON representation

React and Redux with TypeScript

Awesome Lists containing this project

README

        

# typescript-webpack-react-redux-boilerplate
The goal of this repo is to help you start when combining Typescript with React and Redux.
LESS in combination of CSS modules is used for styling components. For running, building and bundling there is powerful Webpack.

## This boilerplate combines
* [Typescript 2](https://github.com/Microsoft/TypeScript)
* [Babel](https://babeljs.io/)
* [React](https://github.com/facebook/react)
* [Redux](https://github.com/reactjs/redux)
* [LESS](https://github.com/less/less.js)
* [CSS modules](https://github.com/css-modules/css-modules)
* [Webpack 2](https://webpack.js.org/)
* [Tslint](https://palantir.github.io/tslint/)

## Getting started
* run **npm install** to download dependencies
* run **npm start** to build and start webpack-dev-server
* open **http://localhost:3333/**

## Build options
* **npm run build** for single build (creates files and index.html in build/ folder)
* **npm start** to build and start webpack-dev-server

## More information
* [Why typescript?](https://medium.com/@delveeng/why-we-love-typescript-bec2df88d6c2)
* [Flux implementation](https://medium.com/@delveeng/how-we-use-the-flux-architecture-in-delve-effc551f8fbc)
* [Why CSS modules?](https://medium.com/@delveeng/how-we-build-css-in-office-delve-3440ae67bae9)
* [Why Webpack?](https://medium.com/@delveeng/how-we-bundle-delve-using-webpack-c13d9c9624c)