Backbone - React (CommonJS/ Browserify) starter kit
- node
- npm
- gulp
Using homebrew:
brew install node
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
npm install gulp -g
npm install
gulp
- open gulp form powered by microscope-console.
gulp serve
- clean build directory.
- copy assets in build directory.
- compile scripts source files to bundle.
- run local server with generated 'build/' directory as root.
- Watch for changes in source files (scripts & assets).
gulp build
- clean build directory.
- copy assets in build directory.
- compile scripts source files to bundle.
gulp release
- clean build directory.
- copy assets in build directory.
- compile scripts source files to bundle.
- uglify & minify bundle.
gulp test
- validate source code (jsHint).
- annoted code documentation with jsx
- fix livereload
- sourcemap