0.2.0 • Published 2 years ago
my-modest-frontend-tooling v0.2.0
clear;npm start -- --config config.json
clear;npm start -- --config config.json --key key.pem --cert cert.pem
..\..\node_modules\.bin\http-server
{
"source": "/http:\\/\\/localhost:8080\\/script(.*)\\.js/" ,
"target": "http://localhost:8080/newscript$1.js/"
}--config - mandatory
--key and --cert => https
--generate-certs => https with new certs
no --key, --cert or --generate-certs => http