- Run
bower install
. - Run
npm install
. - Run
gulp
for development.
- Clone this repository
- Change the remote url
- Run
bower install
andnpm install
- Update npm dependencies with
npm install npm-check -g
and thennpm-check -u
- Update bower dependencies with
npm install bower-update -g
and thenbower-update
- secrets.json with credentials information in order to deploy via ssh or ftp.
There are three objectives for the development phase. They are:
- 6 gulp tasks:
sass
,watch
,browserSync
,sprites
,nunjucks
,clean:dev
. default
task that chains everything created into a single task.
- 3 tasks
lint:scss
,lint:js
,test
. lint:scss
,lint:js
are in charged of ensuring our code is tidy and follow best practices.test
task runs unit test with Karma and Jasmine.
- Continuous integration with Travis
uncss
andcssnano
for CSS.useref
anduglify
for JS.- Cache busting
- 2 tasks
rsync
for SSH andftp
for FTP.
Based on the book of the same name written by Zell Liew.