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.
More InformationTearing Grunt Apart -Bocoup blog Related ArticlesCoffeeScript Supports Literate Programming 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.
Comments
or email your comment to: comments@i-programmer.info
|
Last Updated ( Monday, 18 March 2013 ) |