# gulp-notifiable-task

> A wrapper to create gulp task with node-notify.

Latest version **1.1.1** (published 2017-06-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install gulp-notifiable-task
pnpm add gulp-notifiable-task
yarn add gulp-notifiable-task
bun add gulp-notifiable-task
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2017-06-22 |
| First published | 2017-06-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | JSON object |
| Maintainers | jsonobject |
| Keywords | gulp plugin, gulp task, gulp wrapper, wrapper, node-notify, notify, gulp, notification, reporter, windows notification, mac notification, notify-send, notify-osd, growl |

## Links

- npm: https://www.npmjs.com/package/gulp-notifiable-task
- Repository: https://github.com/jasonrey/gulp-notifiable-task
- Homepage: https://github.com/jasonrey/gulp-notifiable-task#readme
- Issues: https://github.com/jasonrey/gulp-notifiable-task/issues
- npm.io page: https://npm.io/package/gulp-notifiable-task

## Dependencies (4)

- [gulp](https://npm.io/package/gulp.md) ^3.9.1
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.8
- [gulp-plumber](https://npm.io/package/gulp-plumber.md) ^1.1.0
- [node-notifier](https://npm.io/package/node-notifier.md) ^5.1.2

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2017-06-22
- 1.0.2 — 2017-06-21
- 1.0.1 — 2017-06-21
- 1.0.0 — 2017-06-21

## README

# gulp-notifiable-task

# Information

This plugin adds a `.notifiableTask` wrapper method that create Gulp task and mimics `.task` parameters.

You may pass in `--staging`, `--production` or `--disableNotification` to surpress notification.

Underlyingly, the plugin is using:

+ [`node-notifier`](https://www.npmjs.com/package/node-notifier) to trigger notification
+ [`gulp-plumber`](https://www.npmjs.com/package/gulp-plumber) to patch error handler
+ [`gulp-util`](https://www.npmjs.com/package/gulp-util) to check for environment and arguments

## Usage

```
    let gulp = require('gulp');
    let sass = require('gulp-sass');

    require('gulp-notifiable-task');

    gulp.notifiableTask('build', ['build:sass']);

    gulp.notifiableTask('build:sass', function() {
        gulp.src('**/*.sass')
            .pipe(sass())
            .pipe(gulp.dest('css'));
    });
```

## Todos

- Customizable notification templates
- Custom callback before notification

## Credits

- calvin @ weixhen.co
- [`node-notifier`](https://www.npmjs.com/package/node-notifier)
- [`gulp`](https://www.npmjs.com/package/gulp)
- [`gulp-plumber`](https://www.npmjs.com/package/gulp-plumber)
- [`gulp-util`](https://www.npmjs.com/package/gulp-util)

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