npm

nva-server

0.7.2 • Public • Published

nva-server

NPM

frontend project development server

Install

npm install nva-server --save

Usage

nva-server -p 5000 -c src

cli options

  • -v or --version package version
  • --protocol server listen protocol
  • --host server listen hostname
  • -p or --port server listen port
  • -c or --content serve content path
  • -a or --asset serve asset path,if not set then content value by default
  • -m or --mock mock api configs file path
  • -b or --browser which browser to open
  • -i or --index started url
  • --config server config
  • --log enable log of request
  • --rewrites enable rewrites request to index.html
  • --cors allows cross origin access serving

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i nva-server

Weekly Downloads

12

Version

0.7.2

License

MIT

Unpacked Size

24.2 kB

Total Files

7

Last publish

Collaborators

  • alichen