react-typescript-starter

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i react-typescript-starter

Weekly Downloads

20

Version

0.1.1

License

ISC

Last publish

Collaborators

  • alex3165