项目作者: wellitongervickas

项目描述 :
React, Redux, Redux Sagas, Styled Components, Flow, Jest, Eslint and sass
高级语言: JavaScript
项目地址: git://github.com/wellitongervickas/react-boilerplate.git
创建时间: 2019-04-02T18:39:38Z
项目社区:https://github.com/wellitongervickas/react-boilerplate

开源协议:

下载


React Boilerplate

Understand Redux Sagas Flow

See Redux flow with redux sagas

Docker test localhost:3000

Keep in mind to run npm install and npm run build before run docker

Create a build

docker build -t DOCKERNAME .

Run docker image

docker run -p 3000:3000 DOCKERNAME

Jest test coverage
  • Components
  • Helpers
  • Store Actions
  • Store Reduces
    1. Partially skip the services and sagas
    Npm run scripts
  • npm install (Install packages)
  • npm start (port 3000)
  • npm run dev (port 8080)
  • npm run build (build production)
  • npm run build:homolog (build homologation)
  • npm run test (run jest with watch mode)
  • npm run test:coverage (run test to see coverage)
  • npm run test:build (run test without watch mode)
  • npm run flow (run flow validation)
  • npm run lint (run lint validation)
  • npm run lint:fix (run lint sanitize)