mistadikay / react-starter-kit

⚛ Yet another React starter kit for my personal use

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WIP


TODO

  • babel
    • switch to babel-preset-env
    • switch to babili
  • react
    • add best 3rd-party components
    • add preact(-compat) for production build
    • add recompose
  • redux
    • basic setup
    • add actual actions/reducers/sagas
    • rethink file structure
    • normalizr?
  • webpack
    • basic setup
    • add lodash-webpack-plugin and other bundle optimiztion techniques
    • refactor and cleanup
  • server
    • add http-client (whatwg-fetch)
    • add mock server
  • testing
    • eslint
      • basic setup
      • eslint-config-tough with react rules
    • stylelint
    • flow
    • jest for unit-tests
    • try typescript as an alternative to flow
    • redux state/sagas tests
    • webdriver + browserstack for e2e tests
  • react-router
    • basic setup
    • switch to react-router 4
    • split bundle with dynamic imports and a loader
  • add Dockerfile with nginx to run the application
  • better README

Prerequisites

  • node@6+
  • npm@3+
  • (optional) yarn@0.16.0+

Usage

Install dependencies

npm install
# or
yarn

Run development server

npm start

Build for production

npm run build

Run linters (eslint + stylelint + flow)

npm run lint

Run unit-tests

npm test

About

⚛ Yet another React starter kit for my personal use


Languages

Language:JavaScript 98.8%Language:HTML 0.6%Language:CSS 0.5%