isaacbw/fez-browserify — pull request #2 by miketheprogrammer (2014-02-21 16:19:15+00:00)
Title: Feature browserify transforms

The following pull request involve opening up the transforms api to fez.
I have added tests and files. Changes to dev deps in package.json.
I did not do a version bump, ill leave that up to you to decide what version if accepted.

The Tests involve inlining fs.readFileSyncs using BRFS.
The second test builds on the first by writing a custom transform to change the text that was inlined from the first test.

Test output follows

> fez-browserify@0.1.0 test /fez-browserify
> node tests/main.js

TAP version 13
# Browserify Should return a transformed file with hello world
ok 1 (unnamed assert)
# Browserify Should return a transformed file with goodbye world
ok 2 (unnamed assert)

1..2
# tests 2
# pass 2

# ok