#Getting started
This project requires:
- node and npm
brew install node
- grunt-cli
npm install -g grunt-cli
Install node dependencies:
npm install
Install bower:
grunt build runs the bower too
To run a grunt build:
grunt build
Then open http://localhost:80 in your web browser
The project uses Grunt to compile scss to css, generate sprite, minify and concatenate the assets. The main grunt tasks are:
grunt build
: runs an entire build from scratch, running all grunt tasks
grunt jshint
: runs jshint on javascript files before any concat and uglify tasksgrunt concat
: Copies assets from bower_components into the public site structuregrunt uglify
: Minifies all javascript in thepublic
directorygrunt sass
: Compiles the source SASS files into CSS, placing them in thepublic
directorygrunt cssmin
: Minifies all the CSS in thepublic
directorybower-install-simple
: Download vendor from bowerautoprefixer
: Add a all browser prefixer on csssprite
: sprite generatorconect
: create local server
Somy Taheri