Skip to content

Commit

Permalink
Add provify transform
Browse files Browse the repository at this point in the history
This transform will replace all instances of "tap" or "tape" require statements in a script with require('prova').  This closes azer#2.
  • Loading branch information
Myles Borins committed Sep 18, 2014
1 parent bf6c3df commit 86d1420
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/browserify-transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ module.exports = function (files, command) {
ret = watchify(files);
}

ret.transform('provify');

if (transform) ret.transform(transformMap[ext]);

if (command.transform && command.transform.length) {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"dom-event": "0.0.0",
"component-delegate": "^0.2.2",
"single-line-log": "^0.4.1",
"tape": "^3.0.0"
"tape": "^3.0.0",
"provify": "^0.1.2"
},
"keywords": [
"testing",
Expand Down

0 comments on commit 86d1420

Please sign in to comment.