GruntJS – What is Task Runner ?

In one word: automation. The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc, the easier your job becomes. After you’ve configured it, a task runner can do most of that mundane work for you and your team with basically no effort.

Task Runners are:

  • Grunt
  • Gulp

Required technologies:

  • Javascript
  • NodeJS

All the task runners cascade the following properties:
– Consistency
– Effectiveness
– Efficiency
– Repeatability

Why to use GruntJS ?

  • Grunt prefers the configuration model approach to coding. This simplifies the development approach by adding the required functionalities directly as plug-ins.
  • Grunt allows users to customize their tasks through predefined plug-ins. This eases the work to great extent.
  • Grunt allows users to add their custom developed plug-ins and publish them to npm. Apart of officially maintained plug-ins there are many custom developed plug-ins offering wide range of tasks.
  • Grunt extends access to many predefined plug-ins which could be used to work with JavaScript tasks and on static content.

One comment

  1. Hello There,

    Amaze! I have been looking bing for hours because of this and i also in the end think it is in this article! Maybe I recommend you something helps me all the time?

    The j2objc must be manually installed because it does not include an installer.

    Using the nono editor in my Mac’s terminal and edited my /etc/paths file by adding the location of my j2objc file.

    When I try to use it I get the following error message:
    -bash: j2objc: command not found

    Is there something else that I need to do to manually install j2objc? What do I need to do to set this up? Why doesn’t Google’s documentation mention any of this?

    Great effort, I wish I saw it earlier. Would have saved my day 🙂

    Thanks a heaps,
    Irene Hynes

Join Discussion

This site uses Akismet to reduce spam. Learn how your comment data is processed.