Invoke mocha and nyc via script in module
Invoke mocha and nyc via script in module

On Windows, the executable in node_modules/.bin is a batch script,
rather than a JavaScript file, so it can not be interpreted via node.
Instead, run the bin JavaScript file in the package.

Fixes: f0e48b0e589b ("Replace mocha-ur2ue with --unhandled-rejections")

Signed-off-by: Kevin Locke <ffb4761cba839470133bee36aeb139f58d7dbaa9@kevinlocke.name>

kevinoid/appveyor-status,kevinoid/git-branch-is,kevinoid/git-branch-is,kevinoid/git-branch-is,kevinoid/promised-read,kevinoid/travis-status,kevinoid/swagger-spec-validator,kevinoid/stream-compare,kevinoid/travis-status,kevinoid/swagger-spec-validator,kevinoid/node-project-template,kevinoid/node-project-template,kevinoid/promised-read,kevinoid/promised-read,kevinoid/stream-compare,kevinoid/travis-status,kevinoid/appveyor-status,kevinoid/appveyor-status,kevinoid/stream-compare,kevinoid/swagger-spec-validator,kevinoid/node-project-template