# gulp-scenario

> register gulp task

Latest version **0.0.1** (published 2014-03-03) · 0 weekly downloads

## Install

```sh
npm install gulp-scenario
pnpm add gulp-scenario
yarn add gulp-scenario
bun add gulp-scenario
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2014-03-03 |
| First published | 2014-03-03 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | achamaro |
| Maintainers | achamaro |
| Keywords | gulpplugin |

## Links

- npm: https://www.npmjs.com/package/gulp-scenario
- Repository: https://github.com/achamaro/gulp-scenario
- Issues: https://github.com/achamaro/gulp-scenario/issues
- npm.io page: https://npm.io/package/gulp-scenario

## Recent versions

- 0.0.1 (latest) — 2014-03-03
- 0.0.0 — 2014-03-03

## README

[![Build Status](https://travis-ci.org/achamaro/gulp-scenario.png?branch=master)](https://travis-ci.org/achamaro/gulp-scenario)

## Installation

```
$ npm install gulp-scenario --save-dev
```

## Usage

```javascript
var gulp = require('gulp'),
    gs = require('gulp-scenario');

gs.task('task a', function() {

});
gs.task('task b', function() {

});
gs.task('task c', function() {

});

// a -> callback
gs.register('a -> callback', ['a'], function() {

});

// a -> b
gs.register('a > b', ['a', 'b']);

// a ->
// b ->
gs.register('a , b', [['a', 'b']]);

// a ->
//      b ->
//      c ->
gs.register('a > b, c', ['a', ['b', 'c']]);

// a ->
// b ->
//      c ->
gs.register('task ab', ['a', 'b']);
gs.register('a , b > c', ['task ab', 'c']);

```

### task(name, fn)

### register(name, tasks, fn)

---
_Source: https://npm.io/package/gulp-scenario · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
