Comparing version 0.1.11 to 0.1.12
{ | ||
"name": "grunt-cli", | ||
"description": "The grunt command line interface.", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"author": "Grunt Team", | ||
@@ -6,0 +6,0 @@ "homepage": "http://gruntjs.com/", |
@@ -28,4 +28,4 @@ # grunt-cli [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-cli.png?branch=master)](http://travis-ci.org/gruntjs/grunt-cli) | ||
## Installing grunt-cli locally | ||
If you don't have administrator rights, you may need to install grunt-cli locally to your project using `npm install grunt-cli --save-dev`. Unfortunately, this will not put the `grunt` executable in your PATH. You'll need to specify its explicit location when executing it, eg: `./node_modules/.bin/grunt`, | ||
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 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. | ||
Note: Using grunt-cli in this way is unsupported. | ||
To read more about npm scripts, please visit the npm docs: [https://npmjs.org/doc/misc/npm-scripts.html](https://npmjs.org/doc/misc/npm-scripts.html). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11135