Bolierplate for React projects

A simple webpack boilerplate for React projects witout react-create-app.

Features

  • Transpiling ES201x and JSX via TypeScript.
  • Generating a HTML file for webpack bundles that include a hash in the filename.
  • Formatting with Prettier.
  • Linting with ESLint.

Usage

  • yarn build - Build app for developement.
  • NODE_ENV=production yarn build - Build app for production.
  • yarn start - Start webpack-dev-server for developement.
  • yarn lint - Lint files.
  • yarn unit - Execute unit tests.
  • yarn test - lint and test.