fly-notify

0.3.4 • Public • Published

node-notifier plugin for Fly.

npm package

Usage

Check out the documentation to see the available options.

This plugin also allows you to specify a devicons icon by prefixing the icon that you want to use with dev:. octicons support planned as well.

Install

npm install -D fly-notify

Example

ES6

export default function* () {
  yield this.clear("build")
  yield this
    .source(paths.scripts)
    .babel({ stage: 0 })
    .uglify()
    .concat("all.min.js")
    .notify({
      title: "Fly Default",
      message: "Completed default task",
      icon: "dev:code_badge"
    })
    .target("build/js")
}

Earl Grey

provide: default
default = *->
  yield this.clear("build")
  yield chain this:
    @source("src/*.eg")
    @earl()
    @concat("index.js")
    @notify with {
      title = "Fly Default"
      message = "Completeled default task."
      icon = "dev:code_badge"
    }
    @target("lib")

Requirements

Here are node-notifier's requirements:

  • Mac OS X: >= 10.8 or Growl if earlier.
  • Linux: notify-osd installed (Ubuntu should have this by default)
  • Windows: >= 8, task bar balloon if earlier or Growl if that is installed.
  • General Fallback: Growl

License

MIT © Jake Russo et al

Readme

Keywords

Package Sidebar

Install

npm i fly-notify

Weekly Downloads

9

Version

0.3.4

License

MIT

Last publish

Collaborators

  • lukeed
  • madcapjake