softwareupdatetoolbox100530828orig

Grunt JavaScript task-runner nears 1.0 release

Grunt, a well-known task runner for automating JavaScript tasks, has gone to a 1.0.0 release. Changes include prevention of the async callback function from being called multiple times, removal of duplicate BOM (byte order mark) strip code, and updates to the command-line interface.

But the 1.0.0 version no longer supports Node.js 0.8, which debuted in mid-2012.

Grunt features plug-ins and serves as a build tool for project setup. Plug-ins are available via the NPM JavaScript package manager, and example plug-ins run predefined tasks, copy files, run tasks concurrently, and validate JSON files.

Adobe, Mozilla, Twitter, and Walmart all use Grunt. JetBrains's WebStorm IDE for Node.js has integrated with Grunt. Microsoft has backed it as well, along with the Gulp task runner.

The Grunt team markets the tool's usefulness in reducing workloads: "The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, the easier your job becomes. After you've configured it through a Gruntfile, a task runner can do most of that mundane work for you."

IDG Insider

PREVIOUS ARTICLE

« At MIT, a glimpse into our techno future

NEXT ARTICLE

Adobe to issue emergency patch for Flash vulnerability »
author_image
IDG News Service

The IDG News Service is the world's leading daily source of global IT news, commentary and editorial resources. The News Service distributes content to IDG's more than 300 IT publications in more than 60 countries.

  • Mail

Recommended for You

Future-proofing the Middle East

Keri Allan looks at the latest trends and technologies

FinancialForce profits from PSA investment

Martin Veitch's inside track on today’s tech trends

Amazon Cloud looms over China: Bezos enters Alibaba home ground

Lewis Page gets down to business across global tech

Poll

Do you think your smartphone is making you a workaholic?