Skip to content

Commit 81c6b67

Browse files
committed
Enable the repo sponsor button
1 parent 73a8298 commit 81c6b67

File tree

2 files changed

+8
-19
lines changed

2 files changed

+8
-19
lines changed

.github/funding.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
github: sindresorhus
2+
open_collective: sindresorhus
3+
patreon: sindresorhus
4+
custom: https://sindresorhus.com/donate

readme.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
> Load multiple grunt tasks using globbing patterns
44
5-
---
6-
7-
<p align="center"><b>🔥 Want to strengthen your core JavaScript skills and master ES6?</b><br>I would personally recommend this awesome <a href="https://ES6.io/friend/AWESOME">ES6 course</a> by Wes Bos.</p>
8-
9-
---
10-
115
Usually you would have to load each task one by one, which is unnecessarily cumbersome.
126

137
This module will read the `dependencies`/`devDependencies`/`peerDependencies`/`optionalDependencies` in your package.json and load grunt tasks that match the provided patterns.
@@ -40,10 +34,6 @@ require('load-grunt-tasks')(grunt);
4034
$ npm install --save-dev load-grunt-tasks
4135
```
4236

43-
<a href="https://www.patreon.com/sindresorhus">
44-
<img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160">
45-
</a>
46-
4737

4838
## Usage
4939

@@ -127,17 +117,17 @@ require('load-grunt-tasks')(grunt, {
127117

128118
### pattern
129119

130-
Type: `string`, `Array`<br>
131-
Default: `['grunt-*', '@*/grunt-*']` ([globbing pattern](https://github.com/isaacs/minimatch))
120+
Type: `string | string[]`<br>
121+
Default: `['grunt-*', '@*/grunt-*']` ([Glob pattern](https://github.com/isaacs/minimatch))
132122

133123
### config
134124

135-
Type: `string`, `Object`<br>
125+
Type: `string | object`<br>
136126
Default: Path to nearest package.json
137127

138128
### scope
139129

140-
Type: `string`, `Array`<br>
130+
Type: `string | string[]`<br>
141131
Default: `['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies']`<br>
142132
Values: `'dependencies'`, `'devDependencies'`, `'peerDependencies'`, `'optionalDependencies'`, `'bundledDependencies'`
143133

@@ -147,8 +137,3 @@ Type: `boolean`<br>
147137
Default: `false`
148138

149139
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.
150-
151-
152-
## License
153-
154-
MIT © [Sindre Sorhus](https://sindresorhus.com)

0 commit comments

Comments
 (0)