Skip to content

7bits/happydev-lite

Repository files navigation

Happydev-lite

Site for student IT-conference

NVM install

$ curl https://raw.githubusercontent.com/creationix/nvm/v0.7.0/install.sh | sh
$ nvm install 0.10
$ cd %project_dir%
$ nvm use

Check your node version

$ node -v

Grunt install

$ npm install grunt
$ npm install -g grunt-cli

Check your grunt version

$ grunt -version 

CSSO install

$ npm install csso -g

or

$ git clone git://github.com/css/csso.git

Check your csso version

$ csso -v 

Before production

  1. CSS concatenation

$ grunt concat_css
  1. JS concatenation

$ grunt concat
  1. CSS minification

$ csso <in_file_name> <out_file_name>
  1. JS minification

$ grunt uglify
  1. Images minification

$ grunt imagemin