Grunt is a JavaScript task runner that automates repetitive development tasks such as minification, compilation, unit testing, and linting. It is configured through a file called a Gruntfile and has a large ecosystem of plugins published to npm. Users can also author and publish their own Grunt plugins.
What it's for
Automating minification of codeAutomating compilation tasksAutomating unit testingAutomating lintingRunning JSHint checksRunning QUnit testsCleaning build directoriesConcatenating filesUglifying/minifying JavaScript files
Features 12
- Ability to author and publish custom Grunt plugins to npm
- Advanced API for creating custom tasks
- Command-line interface (CLI)
- Directory cleaning task
- File concatenation task
- File minification (uglify) task
- JSHint linting task integration
- Plugin ecosystem with hundreds of plugins
- Project scaffolding support
- QUnit testing task integration
- Sample Gruntfile and getting-started documentation
- Task automation via Gruntfile configuration
At a glance
open sourceAPI
TypeCLI tool
DeploymentInstalled (local)
CompanyOpenJS Foundation
Integrations
QUnitGitHubnpmJSHintUglifyJS
Resources
Pricing
Grunt is free and open source; optional commercial support for outdated versions is available, though pricing is not publicly listed.
GruntFree
Grunt itself is a free, open-source npm package; no paid tiers of the tool are described.
Similar apps
gulp.jsA toolkit to automate & enhance your workflowPriceNot statedTry freeFree planRuns on—Features12
GradleOpen sourceGradle by Develocity is the open source build system for Java, Android, and Kotlin developers.PriceNot statedTry freeFree planRuns on—Features21
TurborepoOpen sourceThe build system for JavaScript and TypeScript codebasesPriceNot statedTry freeFree planRuns on—Features15
PhingOpen sourcePHing Is Not GNU makePriceFreeTry freeFree planRuns onLinux · macOS +1Features14
MetalsmithOpen sourceAn extremely simple, pluggable static site generator for NodeJS.PriceNot statedTry free—Runs on—Features14
SVGOOpen sourceSVG Optimizer for Node.js and CLIPriceNot statedTry free—Runs on—Features7