This is a node project for managing the frontend of the MGXRace website. This is intended to compile the css, js, minify images, and arrange them so the django backend can find the files.
$ npm install -g gulp
$ npm installIt's recommended to use npm ~0.10 and nvm
$ gulp build$ gulpThis will start a lightweight development server with LiveReload and synchronized browsing across multiple devices and browsers.
TODO
Run unit tests powered by Jest with the following npm command:
$ npm testTest any javascript module by creating a __tests__/ directory where
the file is. Name the test by appending -test.js to the js file.
Jest will do the rest.