PavanKumarPatruni / react-boilerplate

React boilerplate code which helps to setup a react codebase with predefined features including web pack, listing, test cases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Boilerplate

Contents

  1. React (v16 - https://github.com/facebook/react) 2 .Redux (https://github.com/reduxjs/redux)
  2. Redux Saga (https://redux-saga.js.org/)
  3. Prettier (https://github.com/prettier/prettier)
  4. Husky (https://github.com/typicode/husky)
  5. Jest (https://github.com/facebook/jest)
  6. Webpack (v4 - https://github.com/webpack/webpack)

Download and run

yarn

or

npm install

Local Dev

yarn start

or

npm run start

Testing

yarn test

or

npm run test

Testing with updating snapshot

yarn test:updateSnapshot

or

npm run test:updateSnapshot

Prettier (Validate linting of both SCSS & JS)

yarn lint

or

npm run lint

Prettier (Fix linting of both SCSS & JS)

yarn fix

or

npm run fix

Validate (Link validation, Test status)

yarn validate

or

npm run validate

Generate build

yarn build

or

npm run build

Contributors

Here (https://github.com/PavanKumarPatruni)

About

React boilerplate code which helps to setup a react codebase with predefined features including web pack, listing, test cases.


Languages

Language:JavaScript 91.2%Language:HTML 7.9%Language:CSS 0.8%