Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rewire.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ewald <johannes.ewald@peerigon.com>2014-05-20 15:26:17 +0400
committerJohannes Ewald <johannes.ewald@peerigon.com>2014-05-20 15:26:17 +0400
commit8b6fdfd3c3f1d4a1fa98672b2f6fb4683a9f54f1 (patch)
tree778074728f229943d6466ac9ff26dd2d1698629b /package.json
parent4551fd830d5e8719424c1b96940e8b89643380fd (diff)
Updated description and added script for test coverage with istanbul
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 3 insertions, 5 deletions
diff --git a/package.json b/package.json
index d7abe12..583c669 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name" : "rewire",
"version" : "2.0.0",
- "description" : "Dependency injection for node.js applications",
+ "description" : "Easy dependency injection for node.js unit testing",
"keywords" : [
"dependency",
"injection",
@@ -27,15 +27,13 @@
"type": "git",
"url": "git://github.com/jhnns/rewire.git"
},
- "engines" : {
- "node" : "<0.12.x"
- },
"devDependencies": {
"mocha": "1.x",
"expect.js": "0.x",
"coffee-script": "1.x"
},
"scripts" : {
- "test" : "node node_modules/mocha/bin/mocha -R spec"
+ "test" : "node node_modules/mocha/bin/mocha -R spec",
+ "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha"
}
} \ No newline at end of file