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 install
to install all the dependencies - Run
npm run build:js
to build the React code inclient/src
with Browserify and Babel. It outputs toclient/build/bundle.js
. - Run
npm run watch
to do this automatically on every file change.