The grunt command line interface.
Documentation | npm | Issues | Repository
Current package version: 1.0.2
@stackline/grunt-cli is the Stackline-maintained distribution of grunt-cli@1.5.0. It is an independent continuation of grunt-cli; original authors and licenses remain credited below.
| Item | Value |
|---|---|
| Package | @stackline/grunt-cli@1.0.2 |
| API target | grunt-cli@1.5.0 |
| Supported Node.js | >=10 |
| License | MIT |
| CLI | grunt |
| Runtime dependencies | grunt-known-options, interpret, liftup, nopt, v8flags |
npm install @stackline/grunt-cliPreserve existing imports and plugin resolution with an npm alias:
npm install grunt-cli@npm:@stackline/grunt-cliThe Grunt command line interface.
Install this globally and you'll have access to the grunt command anywhere on your system.
npm install -g @stackline/grunt-cliNote: The job of the grunt command is to load and run the version of Grunt you have installed locally to your project, irrespective of its version. Starting with Grunt v0.4, you should never install Grunt itself globally. For more information about why, please read this.
See the Getting Started guide for more information.
To enable tab auto-completion for Grunt, add one of the following lines to your ~/.bashrc or ~/.zshrc file.
# Bash, ~/.bashrc
eval "$(grunt --completion=bash)"# Zsh, ~/.zshrc
eval "$(grunt --completion=zsh)"If you prefer the idiomatic Node.js method to get started with a project (npm install && npm test) then install grunt-cli locally with npm install @stackline/grunt-cli --save-dev. Then add a script to your package.json to run the associated grunt command: "scripts": { "test": "grunt test" } . Now npm test will use the locally installed ./node_modules/.bin/grunt executable to run your Grunt commands.
To read more about npm scripts, please visit the npm docs: https://docs.npmjs.com/misc/scripts.
- Original project: grunt-cli.
- Grunt Development Team.
- Stackline maintenance: Alexandro Paixao Marques and Stackline contributors.
Original copyright, license notices and contributor acknowledgements remain part of this distribution. Stackline maintenance does not replace authorship of the original work.
MIT. See the license and notice files in the repository.
Use this repository's issue tracker for reproducible bugs and feature requests. Join r/Stackline for examples, usage questions and release discussions.