This repository has been archived by the owner on Jun 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 4.13 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
50
51
52
{
"name": "grunt-concurrent",
"version": "0.3.1",
"description": "Run grunt tasks concurrently",
"keywords": [
"gruntplugin",
"concurrent",
"parallel",
"simultaneous",
"optimize",
"speed"
],
"homepage": "https://github.com/sindresorhus/grunt-concurrent",
"bugs": {
"url": "https://github.com/sindresorhus/grunt-concurrent/issues"
},
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"repository": {
"type": "git",
"url": "git://github.com/sindresorhus/grunt-concurrent.git"
},
"scripts": {
"test": "npm install nodemon -g && grunt"
},
"dependencies": {
"lpad": "~0.1.0"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-clean": "~0.4.0",
"grunt-simple-mocha": "~0.4.0",
"grunt-contrib-watch": "~0.4.0",
"grunt-nodemon": "0.0.2"
},
"peerDependencies": {
"grunt": "~0.4.0"
},
"engines": {
"node": ">=0.8.0"
},
"licenses": {
"type": "MIT"
},
"readme": "# grunt-concurrent [![Build Status](https://secure.travis-ci.org/sindresorhus/grunt-concurrent.png?branch=master)](http://travis-ci.org/sindresorhus/grunt-concurrent)\n\n> Run grunt tasks concurrently\n\nRunning slow tasks like Coffee and Sass concurrently can potentially improve your build time significantly. This task is also useful if you need to run multiple blocking tasks like `nodemon` and `watch` at once, as seen in the example config.\n\n![screenshot](screenshot.png)\n\n*Requires grunt 0.4*\n\nThis task is similar to [grunt-parallel](https://github.com/iammerrick/grunt-parallel), but more focused by leaving out support for shell scripts which results in a leaner config. It also has a smaller dependency size and pads the output of concurrent tasks, as seen above.\n\n\n## Getting Started\n\nIf you haven't used [grunt][] before, be sure to check out the [Getting Started][] guide, as it explains how to create a [gruntfile][Getting Started] as well as install and use grunt plugins. Once you're familiar with that process, install this plugin with this command:\n\n```sh\nnpm install grunt-concurrent --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-concurrent');\n```\n\n[grunt]: http://gruntjs.com\n[Getting Started]: https://github.com/gruntjs/grunt/wiki/Getting-started\n\n\n## Documentation\n\nSee the [Gruntfile](Gruntfile.js) in this repo for a full example.\n\nJust specify the tasks you want to run concurrently as an array in a target of this task as shown below.\n\n\n### Example config\n\nThis will first run the Coffee and Sass tasks at the same time, then the JSHint and Mocha tasks at the same time.\n\n```javascript\ngrunt.initConfig({\n\tconcurrent: {\n\t\ttarget1: ['coffee', 'sass'],\n\t\ttarget2: ['jshint', 'mocha']\n\t}\n});\n\ngrunt.loadNpmTasks('grunt-concurrent');\ngrunt.registerTask('default', ['concurrent:target1', 'concurrent:target2']);\n```\n\n### Logging concurrent output\n\nYou can optionally log the output of your concurrent tasks by specifying the `logConcurrentOutput` option. Here is an example config which runs [grunt-nodemon](https://github.com/ChrisWren/grunt-nodemon) to launch and monitor a node server and [grunt-contrib-watch](https://github.com/gruntjs/grunt-contrib-watch) to watch for asset changes all in one terminal tab:\n\n```javascript\ngrunt.initConfig({\n\tconcurrent: {\n\t\ttarget: {\n\t\t\ttasks: ['nodemon', 'watch'],\n\t\t\toptions: {\n\t\t\t\tlogConcurrentOutput: true\n\t\t\t}\n\t\t}\n\t}\n});\n\ngrunt.loadNpmTasks('grunt-concurrent');\ngrunt.registerTask('default', ['concurrent:target']);\n```\n\n*Note the output will be messy when combining certain tasks. This option is best used with tasks that don't exit like watch and nodemon to monitor the output of long-running concurrent tasks.*\n\n\n## Contribute\n\nIn lieu of a formal styleguide, take care to maintain the existing coding style.\n\n\n## License\n\nMIT License\n(c) [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"_id": "grunt-concurrent@0.3.1",
"_from": "grunt-concurrent@~0.3.0"
}