1.0.6 • Published 8 months ago

parcel-network-dev v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

GETTING STARTED

(Please install this package in your project and it requires parcel to be installed before.) By default parcel dosen't support automated ip detection for hosting on local network. This package aims to solve that problem by automatically detecting the local network ip. If not found it will fall back on localhost

INSTALLATION

npm install parcel-network-dev

HOW TO USE

SET THE ENTRY FILE (default to index.html)

pnd --entry=./index.js

SET PORT NUMBER (default to 1234)

pnd --entry=./index.js --port=5000

CREATE URL QR-CODE

pnd --entry=./index.js --qrcode

It will create the qrcode for the server url.

HTTPS SUPPORT

pnd --entry=./index.js --https

It will runs the dev server and hmr server over HTTPS.

ASK FOR HELP

pnd --help

COMMAND

add pnd in your script in package.json

"scripts": {
    "dev": "pnd"
}
1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago