Skip to content

Instantly share code, notes, and snippets.

@z-ohnami
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save z-ohnami/a0e1be2a6acbe8890204 to your computer and use it in GitHub Desktop.
Save z-ohnami/a0e1be2a6acbe8890204 to your computer and use it in GitHub Desktop.
frontend compile command
# SASS
$ sass --style expanded scss/main.scss:css/main.css
$ sass --style expanded --watch scss:css
#Grunt
$ git clone git://github.com/creationix/nvm.git ~/.nvm
$ source ~/.nvm/nvm.sh
$ nvm ls-remote
$ nvm install v0.10.31
$ nvm alias default v0.10.31
$ vi ~/.bash_profile
$ npm install -g grunt-cli
$ npm init
$ npm install grunt --save-dev
$ npm install grunt-contrib-sass --save-dev
$ npm install grunt-contrib-csslint --save-dev
$ npm install grunt-contrib-cssmin --save-dev
$ npm install grunt-contrib-watch --save-dev
$ npm install grunt-contrib-connect --save-dev
$ grunt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment