Grunt 0.4.0 The JavaScript Task Runner
Written by Alex Denham   
Monday, 18 March 2013

Grunt, the JavaScript task runner that began only a year ago, has been updated to version 0.4.0 and is now more modular.

 

 

Grunt is a task-based command line build tool for JavaScript projects. It can be used to automate tasks you want to carry out regularly when working on a JavaScript project, such as concatenating files, running JSHint on your code or running tests. Grunt provides a single, unified set of commands for many tasks, along with the ability to build your own plugins and scripts, and many plugins developed by other people that you can use.

The new version of Grunt has been changed by removing all the built-in tasks and replacing them with the equivalent officially maintained, standalone plugins.

According to a post on the Bocoup blog by Tyler Kellen, who co-maintains Grunt with Ben Alman:

“One of the biggest benefits of this change is faster iteration. It’s no longer necessary to ship a new version of Grunt for every minor plugin change! If jshint gets updated, for example, we can just release a new version of grunt-contrib-jshint.”

He also says that with the core plugins separated, the barrier to entry for collaboration is lower than ever.

Another major change from Grunt v0.3.x is that Grunt no longer ships with a binary. Instead of installing Grunt globally, you now specify it as a development dependency in your project’s package.json file, along with any Grunt plugins you might be using.

Grunt 0.4 also has a new website with much more documentation and tools for discovering useful plugins. Grunt only began in March 2012, and is now achieving over 60,000 downloads a month.

 

gruntlogo

 

More Information

Grunt.js website

Tearing Grunt Apart -Bocoup blog

Related Articles

WebStorm 6.0 Released

CoffeeScript Supports Literate Programming

JavaScript Assembly Language

JavaScript Your Way - Sweet.js Macro

Does Your JavaScript Leak? Introducing Google Leak Finders

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


High Level of AI Adoption For Java Development
19/03/2025

The 2025 Java Productivity Report  from Perforce reveals that Java 17 is now the most widely used JDK with Java 21 also well used, indicating a marked trend towards LTS versions. Over 80% of resp [ ... ]



The Microsoft AI Agents for Beginners Course
03/04/2025

Microsoft has another free, self-paced AI course, intended for beginners. This one comprises 10 lessons that cover the fundamentals of building AI Agents.


More News

Last Updated ( Monday, 18 March 2013 )