0.1.1 • Published 8 years ago

react-typescript-starter v0.1.1

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

react-typescript-starter

Simple boilerplate to start a react application using typescript.

It includes

  • Typescript
  • Webpack
  • Babel
  • eslint / tslint with airbnb setup

  • React

  • Redux
  • React-router
  • React-router-redux
  • Immutable
  • Stilr (Need to replace it with something better)

And small other dependencies

Compatibility

The setup is compiling to ES5 and has a polyfill for the fetch API, it should be compatible cross browsers.

How to use it

Installation :

npm install
npm install -g typescript typings
typings install

Runing development server :

npm run start

For production :

npm run build

Everything you need is then in the dist folder, you can use the nginx.conf file to have a ready to use server setup.

Todo

  • Replace styling dependency
  • Add unit test setup