React Webpack Boilerplate

  • This serves as a minimalistic version of create-react-app
  • Run npm run start to run this app on a local server
  • Run npm run build to build this app as a static website

Packages used and why:

  • Running React:

    • React
    • ReactDOM
  • Transpiling es6 code & using react:

    • @babel/preset-env
    • @babel/preset-react
    • babel-core
    • babel-loader
    • babel-preset-env
    • babel-preset-react
  • Loading Static assets:

    • css-loader
    • identity-obj-proxy (jest testing)
    • style-loader
  • Webpack:

    • webpack
    • webpack-cli
    • webpack-dev-server
  • Testing:

    • babel-jest
    • jest
    • enzyme
    • enzyme-adapter-react-16