Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hippy/debug-server

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hippy/debug-server

Dev server for hippy-core.

  • 2.14.0
  • latest
  • v2.14-latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-50%
Maintainers
4
Weekly downloads
 
Created
Source

Hippy Debug Server

Hippy Group

The package provides the debug server communicated with native(Android apk or iOS Simulator) and the local web development.

Introduction

Some source code is forked from other project. We modified the client implementation, so the injected js code could be run on Hippy.

  • The webpack-dev-server folder is forked from webpack-dev-server. We modify all platform related implementation to support Hippy, such like window, localtion, etc.
  • webpack-dev-server/client-src/hot is forked from webpack. We changed the fallback strategy to live-reload of Hippy.

Usage

@hippy/debug-server can be installed globally, but install to local in most case.

npm install -g @hippy/debug-server # Install
cd hippy-react-demo               # Change to a hippy-react project folder.
hippy-debug                       # Start the debug server

If you use custom cli, you could customize like this:

const { webpack, startDebugServer } = require('@hippy/debug-server');

// start hippy dev with HMR supported
webpack(webpackConfig, (err, stats) => {
  // add you custom callback here...
});

// start hippy debug
startDebugServer();

Keywords

FAQs

Package last updated on 21 Jun 2022

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