nyc-server

0.0.2 • Public • Published

nyc-server

Simple nyc server for running applications or test unit suites.

Usage

  1. install
npm i nyc-server@0.0.2 -E
npm i nyc@15.0.1 -E
  1. script
  "test": "nyc --require nyc-server node index.js"

The server will run by default on port 3005 and the front-end will point to localhost:3005. If your app is running behind nginx you may want to override this with the variables NYC_SERVER_PORT & NYC_SERVER_WS_ENDPOINT. This implementation is too simple, so if you catch some error enable logs by NYC_SERVER_LOGS=true.

Issues

If any, please issue it.

Readme

Keywords

Package Sidebar

Install

npm i nyc-server

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

14.9 kB

Total Files

4

Last publish

Collaborators

  • dnorio