From c6aacb4b4a07bf75dcfab47a226f42d5b7b3ccbf Mon Sep 17 00:00:00 2001 From: Johannes Date: Mon, 4 Jun 2012 03:12:30 +0200 Subject: changed package.json --- README.md | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9db54c..48c708a 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ rewire("./myModuleA.js", null, null, null, false) !== require("./myModuleA.js"); ##API -**rewire(***filename, mocks, injections, leaks, cache*) +**rewire(***filename, mocks, injections, leaks, cache***)** - *{!String} filename*: Path to the module that shall be rewired. Use it exactly like require(). - *{Object} mocks (optional)*: An object with mocks. Keys should be the exactly the same like they're required in the target module. So if you write ```require("../../myModules/myModuleA.js")``` you need to pass ```{"../../myModules/myModuleA.js": myModuleAMock}```. diff --git a/package.json b/package.json index 7f146a7..1416671 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "web" : "http://johannesewald.de" }, "main" : "lib/index.js", + "homepage": "http://jhnns.github.com/rewire", "bugs" : { "url" : "http://github.com/jhnns/rewire/issues", "email" : "mail@johannesewald.de" -- cgit v1.2.3