Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (45 sloc) 1.79 KB
{
"name": "istanbul",
"version": "0.1.25",
"description": "Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale",
"keywords": [ "coverage", "code coverage", "JS code coverage", "JS coverage" ],
"author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>",
"contributors": [
"Reid Burke <me@reidburke.com>",
"Martin Cooper <mfncooper@gmail.com>",
"Dav Glass <davglass@gmail.com>",
"nowamasa <nowamasa@gmail.com>"
],
"preferGlobal": true,
"scripts": {
"pretest": "jshint --config ./node_modules/yui-lint/jshint.json lib/*js lib/command/*js lib/report/*js lib/store/*js lib/util/*js",
"test": "test/run.js",
"posttest": "node ./lib/cli.js check-coverage --statements 95 --branches 80",
"docs": "npm install yuidocjs && node node_modules/yuidocjs/lib/cli.js ."
},
"bin": {
"istanbul": "./lib/cli.js"
},
"dependencies": {
"esprima": "1.0.x",
"escodegen": "0.0.x",
"handlebars": "1.0.x",
"mkdirp": "0.3.x",
"nopt": "2.0.x",
"fileset": "0.1.x",
"which": "1.0.x",
"async": "0.1.x",
"abbrev": "1.0.x",
"wordwrap": "0.0.x"
},
"devDependencies": {
"rimraf": "*",
"nodeunit": "*",
"jshint": "*",
"yui-lint": "*"
},
"TODO": [
"Need a legend for the HTML report + some explanation on how branch coverage is shown",
"figure out a controlled mechanism to suppress branch coverage when impossible-to-test branches are present in source"
]
}