Introduction to Grunt

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

In this lesson you will install GruntJS and get up and running with your first task, initial configuration, and how to get Grunt methods auto-completing in WebStorm.

Austin
~ 9 years ago

Could you explain how grunt.config.get manages to get the things that we give grunt.initConfig as arguments? In the video, you just use it without explaining. What other grunt conventions are we supposed to know about?

What other methods are there on config? Where can we find the list of methods and a definitive listing of the grunt conventions?

Austin
~ 9 years ago

I would like to suggest that you talk about the three major parts of the typical gruntfile: The initConfig section, the loadNpmTasks section, and the registerTask statements.

Knowing the over-all structure of these files helps in understanding how grunt is used.