1.0.0 • Published 9 years ago

rowboat v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

rowboat

Rebundle unpacked Browserify bundles with optional mockups

Install

Get it from npm

npm install rowboat --save

Usage

var unpack = require('browser-unpack');
var rowboat = require('rowboat');
var rows = unpack(bundle);
var main = rowboat(rows);

rowboat(rows, mockups?)

Takes the rows output from browser-unpack and leverages proxyquire to rebundle the fragmented Browserify bundle. No external dependencies are necessary, and you can in fact provide mockups for dependencies you need to mock.

This makes rowboat ideal in testing scenarios where you need to assert whether a bundle conforms to certain specifications without necessarily having to look at the actual source code that was used to compile said bundle.

License

MIT

1.0.0

9 years ago