Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 8, 2016
1 parent bb2e89f commit 02e628a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
3 changes: 0 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ insert_final_newline = true
[{package.json,*.yml}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: false
language: node_js
node_js:
- '5'
- '4'
- '0.12'
- '0.10'
- 'stable'
File renamed without changes.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,22 @@
"scripts": {
"test": "xo && grunt"
},
"engines": {
"node": ">=0.10.0"
},
"dependencies": {
"arrify": "^1.0.0",
"multimatch": "^2.0.0",
"pkg-up": "^1.0.0",
"resolve-pkg": "^0.1.0"
},
"devDependencies": {
"grunt": "^0.4.2",
"grunt-cli": "^0.1.13",
"grunt": "^1.0.1",
"grunt-cli": "^1.2.0",
"grunt-svgmin": "^3.1.0",
"xo": "*"
},
"engines": {
"node": ">=0.10.0"
"peerDependencies": {
"grunt": ">=0.4.0"
}
}
12 changes: 6 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,28 +117,28 @@ require('load-grunt-tasks')(grunt, {

### pattern

Type: `string`, `array`
Type: `string`, `array`<br>
Default: `['grunt-*', '@*/grunt-*']` ([globbing pattern](https://github.com/isaacs/minimatch))

### config

Type: `string`, `object`
Type: `string`, `object`<br>
Default: Path to nearest package.json

### scope

Type: `string`, `array`
Default: `['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies']`
Type: `string`, `array`<br>
Default: `['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies']`<br>
Values: `'dependencies'`, `'devDependencies'`, `'peerDependencies'`, `'optionalDependencies'`, `'bundledDependencies'`

### requireResolution

Type: `boolean`
Type: `boolean`<br>
Default: `false`

Traverse up the file hierarchy looking for dependencies like `require()`, rather than the default grunt-like behavior of loading tasks only in the immediate `node_modules` directory.


## License

MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com)

0 comments on commit 02e628a

Please sign in to comment.