New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

alarmist-webpack

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alarmist-webpack

Wrap webpack watch in alarmist jobs

  • 1.0.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

alarmist-webpack

Build Status Build status Coverage Status

Wrap webpack watch in alarmist jobs

Usage

As this is a tool linking webpack with alarmist, it is expected that your project already has both alarmist and webpack installed

npm install webpack alarmist alarmist-webpack

You can then add something like the following to your package.json scripts

{
  ...
  "scripts": {
    ...
    "alarmist:build": "alarmist-webpack -n job-name -c ./path/to/webpack/config",
    ...
  },
  ...
}

Then add that script to the watch jobs started by alarmist-monitor.

Usage: alarmist-webpack [options]

Start webpack in watch mode. The working directory
should match the working directory of the monitor and usually this will
be the default. If the job is started via a watcher started
by the monitor then the 'ALARMIST_WORKING_DIRECTORY' environment
variable will have already been set.

Environment Variables:

FORCE_COLOR
ALARMIST_WORKING_DIRECTORY
ALARMIST_WEBPACK_NAME
ALARMIST_WEBPACK_CONFIG

Options:
    --name, -n            The name to use for the job (default: "webpack")
    --working-dir, -w     The directory in which to write logs, etc (default: ".alarmist")
    --config, -f          webpack config file path (default: "webpack.config.js")
    --colors, -c          turn on colors for webpack stats report (default: true)
    --help, -h            Show help
    --version, -v         Show version number

Contributing

Run lint, tests, build, etc before pushing/submitting PRs

  • npm test - lint and test
  • npm run build - run tests then build
  • npm run watch - watch for changes and run build
  • npm run ci - run build and submit coverage to coveralls
  • npm start - watch for changes and build, lint, test, etc in parallel with alarmist

FAQs

Package last updated on 07 Mar 2017

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