Socket
Socket
Sign inDemoInstall

obake

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

obake

Pipe javascript into phantomjs, print the output, writing test coverage to disk along the way


Version published
Maintainers
1
Created
Source

obake

Pipe javascript into phantomjs, print the output, writing test coverage to disk along the way

Linux Build Coverage Status Dependency Status

TL;DR

istanbul + phantomjs + tap + command line = <3

Install

npm install --save-dev obake

Usage

Ideal

browserify -t browserify-istanbul test/test-*.js | obake --coverage

Real world

Add following to your package.json scripts:

"scripts": {
  "pretest": "rimraf coverage; mkdirp coverage",
  "test": "browserify -t browserify-istanbul test/test-*.js | obake --coverage",
  "posttest": "istanbul report lcov text-summary"
}

(Assuming you have rimraf, mkdirp, browserify, browserify-istanbul and istanbul installed as well)

More documentation TBW.

License

Deeply is licensed under the MIT license.

Keywords

FAQs

Package last updated on 11 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc