Gathering detailed insights and metrics for grunt-concurrent-ct
Gathering detailed insights and metrics for grunt-concurrent-ct
Gathering detailed insights and metrics for grunt-concurrent-ct
Gathering detailed insights and metrics for grunt-concurrent-ct
npm install grunt-concurrent-ct
Typescript
Module System
Min. Node Version
NPM Version
51.4
Supply Chain
86.9
Quality
72.2
Maintenance
25
Vulnerability
98.2
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
796 Stars
86 Commits
66 Forks
14 Watchers
1 Branches
13 Contributors
Updated on Feb 28, 2025
Latest Version
0.6.1
Package Id
grunt-concurrent-ct@0.6.1
Size
2.56 kB
NPM Version
1.4.21
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
Run grunt tasks concurrently
Running 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.
This task is similar to 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.
If you haven't used grunt before, be sure to check out the Getting Started guide, as it explains how to create a gruntfile as well as install and use grunt plugins. Once you're familiar with that process, install this plugin with this command:
1$ npm install grunt-concurrent --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
1grunt.loadNpmTasks('grunt-concurrent');
Tip: the load-grunt-tasks module makes it easier to load multiple grunt tasks.
See the Gruntfile in this repo for a full example.
Just specify the tasks you want to run concurrently as an array in a target of this task as shown below.
This will first run the Coffee and Sass tasks at the same time, then the JSHint and Mocha tasks at the same time.
1grunt.initConfig({ 2 concurrent: { 3 target1: ['coffee', 'sass'], 4 target2: ['jshint', 'mocha'] 5 } 6}); 7 8grunt.loadNpmTasks('grunt-concurrent'); 9grunt.registerTask('default', ['concurrent:target1', 'concurrent:target2']);
Type: Number
Default: Number of CPU cores (require('os').cpus().length
) with a minimum of 2
Limit of how many tasks that are run concurrently.
Type: Boolean
Default: false
You can optionally log the output of your concurrent tasks by specifying the logConcurrentOutput
option. Here is an example config which runs grunt-nodemon to launch and monitor a node server and grunt-contrib-watch to watch for asset changes all in one terminal tab:
1grunt.initConfig({
2 concurrent: {
3 target: {
4 tasks: ['nodemon', 'watch'],
5 options: {
6 logConcurrentOutput: true
7 }
8 }
9 }
10});
11
12grunt.loadNpmTasks('grunt-concurrent');
13grunt.registerTask('default', ['concurrent:target']);
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.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 3/30 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More