- Be sure that you have nodejs package manager installed
- Install bower package manager with
npm install -g bower
- Install grunt by running
npm install -g grunt-cli
- Run
npm install
- installs node modules - Run
bower install
or./node_modules/.bin/bower install
- installs vendor dependencies (external libraries) grunt
or./node_modules/.bin/grunt
- to run Grunt tasks- Register GIT hooks by running
grunt install-hooks
grunt
- jshint & compiles SCSS filesgrunt compile
- Compile SCSS filesgrunt lint
- performs linting based on JSHint configuration and SCSS file lintinggrunt watch
- watches SCSS files for changes, any other compilable asses could be added in futuregrunt i18n
- fills missing translations in i18n directory using dashes
JavaScript should be hinted before every commit with .jshintrc configuration. All hinting and JS coding is based on AirBnb sample in GitHub repo.