 Hence, we can maintain different versions of Grunt in different folders and execute each one as we wish.To use Grunt in a project, two specific files need to be created in the root directory, namely package.json and a Gruntfile.Tasks are the modules that perform a specified job.