-
Install Node.js https://nodejs.org/
-
Install Chrome LiveReload extention https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei?hl=en
-
Install bower and gulp
npm install -g bower gulp
npm install
gulp
The server is now available on port 8080. LiveReload is enabled so restart should never be required.
gulp build
gulp build --minify true --sourcemaps false
Add dependencies to bower.json
and they will be automatically installed.
build.json
contains the ordered lists of javascript and css files that are actually added to the build.
Add views to the view folder and name the module <file>-view
. It will be added automagically.
jshint
and csslint
are activated by default and are run during the build process.