This is a single-page application built from scratch using Backbone, Express, Pug (formerly known as Jade), Stylus and Handlebars. This project accumulates a large variety of Frontend technologies and knowledge.
- created application skeleton with express
- npm install
nodemon
as dev dependency and changenpm start
to usenodemon
- initialized bower components with
bower init
- install bower dependencies
jquery
,backbone
(will installunderscore
automatically), andhandlebars
- installed npm
grunt
package as dev dependency and then grunt plugins (dev):grunt-bower-concat
to concatenate bower pluginsgrunt-contrib-handlebars
: lets us have external handlebars templates precompiled into JS functionsgrunt-contrib-uglify
: minify JS files as much as possiblegrunt-contrib-watch
: lets us monitor handlebars directory and if changes to templates then it'll automatically recompile the JS file- set up grunt file to concat and minify our JS and run it with
grunt
CLI command - install
Stylus
withnpm install