Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8b6fdfd

Browse files
committed
Updated description and added script for test coverage with istanbul
1 parent 4551fd8 commit 8b6fdfd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name" : "rewire",
33
"version" : "2.0.0",
4-
"description" : "Dependency injection for node.js applications",
4+
"description" : "Easy dependency injection for node.js unit testing",
55
"keywords" : [
66
"dependency",
77
"injection",
@@ -27,15 +27,13 @@
2727
"type": "git",
2828
"url": "git://github.com/jhnns/rewire.git"
2929
},
30-
"engines" : {
31-
"node" : "<0.12.x"
32-
},
3330
"devDependencies": {
3431
"mocha": "1.x",
3532
"expect.js": "0.x",
3633
"coffee-script": "1.x"
3734
},
3835
"scripts" : {
39-
"test" : "node node_modules/mocha/bin/mocha -R spec"
36+
"test" : "node node_modules/mocha/bin/mocha -R spec",
37+
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha"
4038
}
4139
}

0 commit comments

Comments
 (0)