parcel-on-network
v1.1.1
Published
(Install this package locally in your project) (This package requires parcel to be installed locally in your project) By default parcel dosen't support automated ip detection for hosting on local network. This package aims to solve that problem by automat
Downloads
6
Readme
GETTING STARTED
(Install this package locally in your project) (This package requires parcel to be installed locally in your project) 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 which is 127.0.0.1 by default it will look for index.html in src folder (src/index.html)
INSTALLATION
npm install parcel-on-network
USAGE
specifying the file (default to src/index.html)
pon --file=./index.js
specifying the port number (default to 8080)
pon --file=./index.js --port=3000
generating qr
pon --file=./index.js --qr
it will generate the qr of the generated url.
getting help
pon --help
COMMAND
add pon in your script in package.json
"scripts": {
"dev": "pon"
}