Description
Grunt is a JavaScript task runner for automating the repetitive jobs in a project, such as minifying and compiling code, running unit tests and linting. You configure your tasks once in a Gruntfile, and Grunt then does that work for you and your team with very little effort. The ecosystem is large, with hundreds of plugins for almost any task, and new plugins are published to npm every day. If the plugin you need does not exist, the site says it is simple to write your own and publish it to npm. Installing the Grunt command-line tool is straightforward, but getting it running in a project takes a little more setup. The site includes an example run in a sample project, where Grunt runs JSHint lint checks on several files, a QUnit test suite and a clean step that empties the dist folder. The current version is 1.6.1, and earlier versions are no longer supported. The project is on GitHub, and the site has a getting started guide, a guide to configuring tasks, a plugin list and documentation.…
Highlights
- Automates repetitive build and test tasks
- Tasks configured once in a Gruntfile
- Hundreds of plugins available
- Write and publish your own plugins to npm
- Example run with linting, tests and cleanup
- Current version 1.6.1
Ratings & Reviews
No ratings yet
Be the first to rate Grunt.
People also visit
Grunt FAQ
What is Grunt?
A JavaScript task runner. It automates repetitive jobs such as minification, compilation, unit testing and linting.
How do I set it up?
Install the Grunt command-line tool and configure your tasks in a Gruntfile. The site says getting it running in a project takes a little more work than the install itself.
Are there plugins?
Yes. The site describes hundreds of plugins published to npm, and says you can write and publish your own.
Which version is current?
Version 1.6.1. The site says earlier versions are no longer supported.
Is Grunt free?
Yes. It is open source and its code is on GitHub.
What are the best Grunt alternatives?
Popular alternatives to Grunt include Brunch, Fleet and Tox. See all Grunt alternatives


