Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-series

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-series

Gulp non-dependent ordered tasks runner. It solves the issue with the run-sequence module that doesn't abort the task chain on error.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
814
increased by117.65%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-series

Alternative to run-sequence solution that temporarily solves sequential task running.

This solves issues with run-sequence not aborting task chains on error.

Usage - gulpfile.js
	var gulps = require("gulp-series");

	gulps.registerTasks({
		"test1" : (function(done) {
			setTimeout(function() {
				console.log("test1 is done");
				done();
			}, 1000);
		}),
		"test2" : (function() {
			console.log("test2 is done");
		})
	});

	gulps.registerSeries("default", ["test1", "test2"]);
Usage - terminal
	gulp

	/*output
		[14:00:44] Starting 'default'...
		[14:00:44] Starting '0.test1'...
		[14:00:44] Finished 'default' after 1.43 ms
		test1 is done
		[14:00:45] Finished '0.test1' after 1 s
		[14:00:45] Starting '1.test2'...
		test2 is done
		[14:00:45] Finished '1.test2' after 88 μs
	*/

Keywords

FAQs

Package last updated on 17 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc