What is...

Grunt is a task runner. The goal of a task runner is to remove all the mundane repetitive tasks from your workflow so you can spend more of your time actually coding. Sounds good right?

What does Grunt do?

  • what doesn't grunt do?
  • css pre-processing
  • code linting
  • minification
  • bundling
  • live reload
  • unit tests
  • file copying
  • ... automation!

Getting Started

  • Install Node.js
  • $ npm install -g grunt-cli
  • $ cd projectFolder
  • $ npm install grunt
  • $ npm install grunt-contrib-watch
  • $ npm install grunt-contrib-uglify
  • $ npm install grunt-contrib-connect
  • create gruntfile.js
  • $ grunt task

Celebrate!

Questions?

Grunt.js

By Andrew Worcester

Grunt.js

Basic intro to Grunt

  • 131