Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 555 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 555 Bytes

React - starter pack

Basic packages and scripts to start app developing in react and webpack

yarn commands

  • $ yarn start - build bundle, but without minification and serve it in the browser
  • $ yarn build - build version of bundle
  • $ yarn serve - serve build files
  • $ yarn outdated - check if some of yarn packages are outdated
  • $ yarn lint - run linting
  • $ yarn test - run unit tests
  • $ yarn test:e2e - run e2e tests

Notice

In order to run command in production mode you'll need use env variable NODE_ENV='production'