Socket
Socket
Sign inDemoInstall

anybar-webpack

Package Overview
Dependencies
39
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    anybar-webpack

Webpack build status plugin for menubar status indicator applications


Version published
Maintainers
1
Install size
2.95 MB
Created

Changelog

Source

1.2.0

Changed:

  • Notifications are disabled by default. Enable by passing options object with field enableNotifications: true.

Readme

Source

npm version Build Status NPM Downloads

AnyBarWebpackPlugin

Webpack build status plugin for status bar indicator applications.

anybar webpack plugin animated gif demo

Now with cross-platform native notifications, thanks to node-notifier.

anybar webpack plugin notification demo

Note: Notifies only about build errors.

Known apps

Known issues

No notifications when running from tmux

Please, follow this instructions. After that, update tmux config: tmux source-file ~/.tmux.conf.

Installation

Make sure you have an application installed and running

npm i -D anybar-webpack

Usage

Use it in your webpack.config.js:

var AnyBarWebpackPlugin = require('anybar-webpack');

module.exports = {
    // ...
    plugins: [
        new AnyBarWebpackPlugin({
            enableNotifications: true
        })
    ]
    // ...
};

API

new AnyBarWebpackPlugin([port][, host][, options])

All arguments are optional. If you want to pass the host argument, you need to pass a port first.

port

  • Type: Number
  • Default: 1738

The port the status bar application is running on.

host

  • Type: String
  • Default: '127.0.0.1'

The host the status bar application is running on.

enableNotifications

  • Type: Boolean
  • Default: false

Enable build errors desktop notifications.

Keywords

FAQs

Last updated on 07 Jan 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc