- all frontend code is written in commonjs style modules
- grunt based buildscript with browserify
- auto compilation of less for styles
- auto compilation templates, handlebars are used, but could easily replaced with an other library
- testing with mocha and chai
- all frontend modules can be required and tested individually, allows for actual unit testing thanks to browserify
- tests can be run in the browser or with phantomjs
- grunt dev compiles the code but does not minfy it
- grunt test compiles the code and runs all tests
- grunt prod compiles the code and minifies it
- grunt watch watches the code and recompiles after changes
- grund server starts a static file server
functional testing with mocha & zombie.js
These links helped me put this thing togehter