add peerDependencies

This commit is contained in:
Tyler Kellen 2013-02-18 09:00:57 -05:00
parent da08cf2095
commit 6391f82f14
2 changed files with 12 additions and 1 deletions

View File

@ -5,12 +5,20 @@
## Getting Started
This plugin requires Grunt `~0.4.0`
If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
```shell
npm install grunt-contrib-watch --save-dev
```
One the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
```js
grunt.loadNpmTasks('grunt-contrib-watch');
```
@ -139,4 +147,4 @@ Likely because of an enthusiastic pattern trying to watch thousands of files. Su
Task submitted by [Kyle Robinson Young](http://dontkry.com)
*This file was generated on Fri Feb 15 2013 20:19:57.*
*This file was generated on Mon Feb 18 2013 09:00:52.*

View File

@ -36,6 +36,9 @@
"grunt-contrib-nodeunit": "~0.1.2",
"grunt-contrib-internal": "~0.4.0"
},
"peerDependencies": {
"grunt": "~0.4.0"
},
"keywords": [
"gruntplugin",
"watch"