This is a starter kit of variuos tools I like to use for React projects. It uses the following tools:
- React for overall view architecture
- Alt.js for the flux implementation with React
- React Router for routing within the app
- LESS for CSS pre-processing
- Gulp for building, watching and minifying code
- npm as a package manager
##Getting Started
- After downloading the source, you will need to get all of the required packages to run the local server.
- Run
npm install
(For more information on npm, see npmjs.com)
- Run
- After install completes, you can run
gulp watch
to start the live-reload server. If a browser did not open, you can go tolocalhost:8085
to view the base page. - To build the minified version of the code, use
gulp build
##Gulp Tasks
gulp
- Build local code and start a server
gulp watch
- Build local code and start server with LiveReload
gulp build
- Build the code and uglify it for deployment to firebase