forked from FerencKun/angular-datatable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.92 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "load-grunt-tasks",
"version": "0.1.0",
"description": "Load multiple grunt tasks using globbing patterns",
"keywords": [
"grunt",
"load",
"require",
"tasks",
"glob",
"pattern",
"match"
],
"homepage": "https://github.com/sindresorhus/load-grunt-tasks",
"bugs": {
"url": "https://github.com/sindresorhus/load-grunt-tasks/issues"
},
"license": "MIT",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"files": [
"load-grunt-tasks.js"
],
"main": "load-grunt-tasks",
"repository": {
"type": "git",
"url": "git://github.com/sindresorhus/load-grunt-tasks.git"
},
"scripts": {
"test": "grunt"
},
"dependencies": {
"minimatch": "~0.2.12"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-svgmin": "~0.2.0"
},
"engines": {
"node": ">=0.8.0"
},
"readme": "# load-grunt-tasks [![Build Status](https://secure.travis-ci.org/sindresorhus/load-grunt-tasks.png?branch=master)](http://travis-ci.org/sindresorhus/load-grunt-tasks)\n\n> Load multiple grunt tasks using globbing patterns\n\nUsually you would have to load each task one by one, which is unnecessary cumbersome.\n\nThis module will read the `devDependencies` in your package.json and load the tasks that matches your patterns.\n\n\n#### Before\n\n```js\ngrunt.loadNpmTasks('grunt-shell');\ngrunt.loadNpmTasks('grunt-sass');\ngrunt.loadNpmTasks('grunt-recess');\ngrunt.loadNpmTasks('grunt-sizediff');\ngrunt.loadNpmTasks('grunt-svgmin');\ngrunt.loadNpmTasks('grunt-styl');\ngrunt.loadNpmTasks('grunt-php');\ngrunt.loadNpmTasks('grunt-eslint');\ngrunt.loadNpmTasks('grunt-concurrent');\ngrunt.loadNpmTasks('grunt-bower-requirejs');\n```\n\n#### After\n\n```js\nrequire('load-grunt-tasks')(grunt);\n```\n\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/load-grunt-tasks): `npm install --save load-grunt-tasks`\n\n\n## Example\n\n```js\n// Gruntfile.js\nmodule.exports = function (grunt) {\n\t// load all grunt tasks matching the `grunt-*` pattern\n\trequire('load-grunt-tasks')(grunt);\n\n\tgrunt.initConfig();\n\tgrunt.registerTask('default', []);\n}\n```\n\nBy default `grunt-*` will be used as the [globbing pattern](https://github.com/isaacs/minimatch).\n\nYou can optionally specify a pattern or an array of patterns:\n\n```js\nrequire('load-grunt-tasks')(grunt, 'grunt-shell');\n```\n\n```js\nrequire('load-grunt-tasks')(grunt, 'grunt-contrib-*');\n```\n\n```js\nrequire('load-grunt-tasks')(grunt, ['grunt-contrib-*', 'grunt-shell']);\n```\n\nYou also have the option to specify the package.json as an object if it's not in the same folder as your Gruntfile:\n\n```js\nrequire('load-grunt-tasks')(grunt, 'grunt-shell', require('../package'));\n```\n\n\n## License\n\nMIT License • © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"_id": "load-grunt-tasks@0.1.0",
"_from": "load-grunt-tasks@~0.1.0"
}