Skip to content

leonidas/webpack-react-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack + React project template

Based on Pro React, Appendix A: Webpack for React.

What it does

  • ECMAScript 2015
  • Optimized, minified, compressed production builds
  • Hot module reloading
  • End-to-end tests

Project structure

  • app/ – Front-end source code (ES2015/JSX, CSS)
  • build/ – Built files
  • spec/ – Jasmine tests

Getting started

Get code and install dependencies

git clone [email protected]:leonidas/webpack-react-project-template
npm install

Run development server

npm start
open http://localhost:8080

Run tests

npm install -g webdriver-manager
webdriver-manager update
webdriver-manager start

npm start

npm test

Production build

npm run build

TODO

  • Add a server and proxy some endpoints to it
  • Start the required server components from npm test
  • Redux
  • Clean old files from build/

About

Webpack + React project template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published