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

honeypack

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

honeypack

Honeypack is a combination of webpack-dev-server and webpack-dev-middleware, which provides full featured and scalable configuration to bundle assets.

  • 1.0.15
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
15
decreased by-59.46%
Maintainers
2
Weekly downloads
 
Created
Source

Honeypack

Honeypack is a combination of webpack-dev-server and webpack-dev-middleware, which provides full featured and scalable configuration to bundle assets, and supports HMR.

Install

npm i honeypack --save-dev

Migration from v0.x

Please read our documentation on migration.

Usage

CLI

honeypack --help

>

  Usage: honeypack [options]
         honeypack <command> [options]

  Options:

    -v, --version        output the version number
    -h, --help           output usage information

  Commands:

    init [options]
    run|start [options]
    build [options]
Create new apps
honeypack init

>

  Usage: init [options]

  Options:

    -o, --output <name>  The config file name
    --default            Skip questions, create the config file directly
    -h, --help           output usage information
Start as a dev server
honeypack run|start

>

  Usage: run|start [options]

  Options:

    -c, --config <path>  Path to the config file, defaults to webpack.config.js
    -h, --host <host>    The host to listen on, defaults to localhost
    -p, --port <port>    The port to listen on, defaults to 8000
    -h, --help           output usage information
Build the app for production
honeypack build

>

  Usage: build [options]

  Options:

    -c, --config <path>  Path to the config file, defaults to webpack.config.js
    -h, --help           output usage information

API

Middleware
const honeypack = require('honeypack');
const express = require('express');
const app = express();

app.use(honeypack({
  config: 'webpack.config.js',
  root: './assets',
  hot: false
}));
  • config: the webpack config filename

  • root: the directory contains your frontend assets

  • hot: enable HMR

FAQs

Package last updated on 11 Jul 2019

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