0.0.4 • Published 5 years ago

ensure-localhost v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

ensure-localhost

Usage

Run

npx ensure-localhost

In a package where an environmental param named HOST is configured, either globally or through a .env file.

Typical setup

Install as a dev dependency and add the following to your package.json scripts:

  "prestart": "ensure-localhost"

It will then run whenever you run npm start and kill the process if hosts file not configured.

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago