An extremely basic app skeleton for Express and React, using NPM as the only build tool.
You have limited time and energy to create excellent software.
Gulp, Grunt and friends sound exciting, but take more work to configure than they save you.
You already have great dependency management.
Bower may be purpose-built, but it's unnecessary when NPM works perfectly for front-end code.
Your code should be easy to run.
Complex, custom build systems will take new team member weeks to understand.
- Run
npm installto install all the dependencies - Run
npm run build:jsto build the React code inclient/srcwith Browserify and Babel. It outputs toclient/build/bundle.js. - Run
npm run watchto do this automatically on every file change.