Site for student IT-conference
$ 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
$ npm install grunt
$ npm install -g grunt-cli
Check your grunt version
$ grunt -version
$ npm install csso -g
or
$ git clone git://github.com/css/csso.git
Check your csso version
$ csso -v
- CSS concatenation
$ grunt concat_css
- JS concatenation
$ grunt concat
- CSS minification
$ csso <in_file_name> <out_file_name>
- JS minification
$ grunt uglify
- Images minification
$ grunt imagemin