Merge pull request #140 from twbs/coverage

code coverage measurement integration
This commit is contained in:
Chris Rebert 2014-10-17 14:47:28 -07:00
Родитель f94885c2f4 48a030ad4f
Коммит ac269cc017
7 изменённых файлов: 463 добавлений и 47 удалений

1
.gitignore поставляемый
Просмотреть файл

@ -12,6 +12,7 @@ lib-cov
# Coverage directory used by tools like istanbul
coverage
*-cov
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

Просмотреть файл

@ -22,6 +22,7 @@
"./src/cli.js --disable W003,E001 test/fixtures/doctype/missing.html test/fixtures/viewport/missing.html"
],
"after_script": [
"npm run coveralls",
"./test-infra/s3_cache.py upload npm-modules",
"./test-infra/s3_cache.py upload rubygems"
],

Просмотреть файл

@ -1,6 +1,7 @@
# Bootlint
[![NPM version](https://badge.fury.io/js/bootlint.svg)](http://badge.fury.io/js/bootlint)
[![Build Status](https://travis-ci.org/twbs/bootlint.svg?branch=master)](https://travis-ci.org/twbs/bootlint)
[![Coverage Status](https://img.shields.io/coveralls/twbs/bootlint.svg?branch=master)](https://coveralls.io/r/twbs/bootlint)
[![Dependency Status](https://david-dm.org/twbs/bootlint.svg)](https://david-dm.org/twbs/bootlint)
[![devDependency Status](https://david-dm.org/twbs/bootlint/dev-status.svg)](https://david-dm.org/twbs/bootlint#info=devDependencies)

Просмотреть файл

@ -27,6 +27,7 @@
},
"license": "MIT",
"devDependencies": {
"coveralls": "^2.11.2",
"grunt-banner": "^0.2.3",
"grunt-browserify": "^3.0.1",
"grunt-contrib-clean": "^0.6.0",
@ -38,7 +39,9 @@
"grunt-exec": "^0.4.6",
"grunt-jscs": "^0.7.1",
"jquery": "~2.1.1",
"jscoverage": "^0.5.6",
"load-grunt-tasks": "^0.6.0",
"nodeunit": "^0.9.0",
"npm-shrinkwrap": "^4.0.0",
"time-grunt": "^1.0.0"
},
@ -63,6 +66,7 @@
"LICENSE"
],
"scripts": {
"test": "grunt test"
"test": "grunt test",
"coveralls": "jscoverage src && BOOTLINT_COV=1 nodeunit --reporter=lcov test | coveralls"
}
}

Просмотреть файл

@ -167,6 +167,7 @@ var semver = require('semver');
var allLinters = {};
function addLinter(id, linter) {
if (allLinters[id]) {
/* @covignore */
throw new Error("Linter already registered with ID: " + id);
}
@ -178,6 +179,7 @@ var semver = require('semver');
Problem = LintWarning;
}
else {
/* @covignore */
throw new Error("Invalid linter ID: " + id);
}
@ -214,6 +216,7 @@ var semver = require('semver');
};
}
else {
/* @covignore */
return function lintDoctype($, reporter) {
/*eslint-disable no-undef, block-scoped-var */
var doc = window.document;
@ -317,6 +320,7 @@ var semver = require('semver');
catch (e) {
// deliberately do nothing
}
/* @covignore */
if (theWindow) {
// check browser global jQuery
var globaljQuery = theWindow.$ || theWindow.jQuery;
@ -723,6 +727,7 @@ var semver = require('semver');
}
else {
// jQuery; in-browser
/* @covignore */
(function () {
var $ = cheerio;
/**

494
test-infra/npm-shrinkwrap.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "bootlint",
"version": "0.4.0",
"version": "0.5.0",
"npm-shrinkwrap-version": "4.0.0",
"dependencies": {
"chalk": {
@ -130,8 +130,162 @@
}
},
"commander": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz"
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.4.0.tgz"
},
"coveralls": {
"version": "2.11.2",
"resolved": "https://registry.npmjs.org/coveralls/-/coveralls-2.11.2.tgz",
"dependencies": {
"js-yaml": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.0.1.tgz",
"dependencies": {
"argparse": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-0.1.15.tgz",
"dependencies": {
"underscore": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz"
},
"underscore.string": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz"
}
}
},
"esprima": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz"
}
}
},
"lcov-parse": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.6.tgz"
},
"log-driver": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.4.tgz"
},
"request": {
"version": "2.40.0",
"resolved": "https://registry.npmjs.org/request/-/request-2.40.0.tgz",
"dependencies": {
"aws-sign2": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz"
},
"forever-agent": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.2.tgz"
},
"form-data": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz",
"dependencies": {
"async": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/async/-/async-0.9.0.tgz"
},
"combined-stream": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-0.0.5.tgz",
"dependencies": {
"delayed-stream": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz"
}
}
},
"mime": {
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz"
}
}
},
"hawk": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/hawk/-/hawk-1.1.1.tgz",
"dependencies": {
"boom": {
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/boom/-/boom-0.4.2.tgz"
},
"cryptiles": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz"
},
"hoek": {
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz"
},
"sntp": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz"
}
}
},
"http-signature": {
"version": "0.10.0",
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-0.10.0.tgz",
"dependencies": {
"asn1": {
"version": "0.1.11",
"resolved": "https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz"
},
"assert-plus": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.2.tgz"
},
"ctype": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz"
}
}
},
"json-stringify-safe": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.0.tgz"
},
"mime-types": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-1.0.2.tgz"
},
"node-uuid": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz"
},
"oauth-sign": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.3.0.tgz"
},
"qs": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/qs/-/qs-1.0.2.tgz"
},
"stringstream": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.4.tgz"
},
"tough-cookie": {
"version": "0.12.1",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-0.12.1.tgz",
"dependencies": {
"punycode": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.1.tgz"
}
}
},
"tunnel-agent": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.0.tgz"
}
}
}
}
},
"glob": {
"version": "4.0.6",
@ -1253,8 +1407,8 @@
"resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz"
},
"strip-json-comments": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.1.tgz"
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.2.tgz"
},
"underscore": {
"version": "1.6.0",
@ -1403,8 +1557,8 @@
"resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz"
},
"phantomjs": {
"version": "1.9.10",
"resolved": "https://registry.npmjs.org/phantomjs/-/phantomjs-1.9.10.tgz",
"version": "1.9.11",
"resolved": "https://registry.npmjs.org/phantomjs/-/phantomjs-1.9.11.tgz",
"dependencies": {
"adm-zip": {
"version": "0.4.4",
@ -1475,8 +1629,8 @@
"resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.0.tgz"
},
"semver": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/semver/-/semver-4.0.3.tgz"
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-4.1.0.tgz"
},
"uid-number": {
"version": "0.0.5",
@ -1770,13 +1924,51 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/grunt-eslint/-/grunt-eslint-1.1.0.tgz",
"dependencies": {
"chalk": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-0.5.1.tgz",
"dependencies": {
"ansi-styles": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.1.0.tgz"
},
"escape-string-regexp": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz"
},
"has-ansi": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-0.1.0.tgz",
"dependencies": {
"ansi-regex": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz"
}
}
},
"strip-ansi": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz",
"dependencies": {
"ansi-regex": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz"
}
}
},
"supports-color": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz"
}
}
},
"eslint": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-0.8.2.tgz",
"dependencies": {
"debug": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.0.0.tgz",
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.1.0.tgz",
"dependencies": {
"ms": {
"version": "0.6.2",
@ -1883,16 +2075,16 @@
}
},
"strip-json-comments": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.1.tgz"
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.2.tgz"
},
"text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz"
},
"user-home": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/user-home/-/user-home-1.0.0.tgz"
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.0.tgz"
},
"xml-escape": {
"version": "1.0.0",
@ -1934,30 +2126,6 @@
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz"
},
"glob": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/glob/-/glob-4.0.6.tgz",
"dependencies": {
"graceful-fs": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.4.tgz"
},
"inherits": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
},
"once": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/once/-/once-1.3.1.tgz",
"dependencies": {
"wrappy": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz"
}
}
}
}
},
"minimatch": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-1.0.0.tgz",
@ -1973,8 +2141,8 @@
}
},
"strip-json-comments": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.1.tgz"
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.2.tgz"
},
"supports-color": {
"version": "1.1.0",
@ -2039,8 +2207,8 @@
"resolved": "https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz"
},
"vow": {
"version": "0.4.5",
"resolved": "https://registry.npmjs.org/vow/-/vow-0.4.5.tgz"
"version": "0.4.6",
"resolved": "https://registry.npmjs.org/vow/-/vow-0.4.6.tgz"
}
}
},
@ -2048,6 +2216,84 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-2.1.1.tgz"
},
"jscoverage": {
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/jscoverage/-/jscoverage-0.5.6.tgz",
"dependencies": {
"coffee-script": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.8.0.tgz",
"dependencies": {
"mkdirp": {
"version": "0.3.5",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz"
}
}
},
"debug": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/debug/-/debug-1.0.3.tgz",
"dependencies": {
"ms": {
"version": "0.6.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz"
}
}
},
"ejs": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/ejs/-/ejs-1.0.0.tgz"
},
"optimist": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.1.tgz",
"dependencies": {
"wordwrap": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz"
}
}
},
"uglify-js": {
"version": "2.4.13",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.13.tgz",
"dependencies": {
"async": {
"version": "0.2.10",
"resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz"
},
"optimist": {
"version": "0.3.7",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz",
"dependencies": {
"wordwrap": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz"
}
}
},
"source-map": {
"version": "0.1.40",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.40.tgz",
"dependencies": {
"amdefine": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz"
}
}
},
"uglify-to-browserify": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz"
}
}
},
"xfs": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/xfs/-/xfs-0.1.8.tgz"
}
}
},
"load-grunt-tasks": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-0.6.0.tgz",
@ -2122,6 +2368,122 @@
}
}
},
"nodeunit": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/nodeunit/-/nodeunit-0.9.0.tgz",
"dependencies": {
"tap": {
"version": "0.4.13",
"resolved": "https://registry.npmjs.org/tap/-/tap-0.4.13.tgz",
"dependencies": {
"buffer-equal": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-0.0.1.tgz"
},
"deep-equal": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-0.0.0.tgz"
},
"difflet": {
"version": "0.2.6",
"resolved": "https://registry.npmjs.org/difflet/-/difflet-0.2.6.tgz",
"dependencies": {
"charm": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/charm/-/charm-0.1.2.tgz"
},
"deep-is": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz"
},
"traverse": {
"version": "0.6.6",
"resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz"
}
}
},
"glob": {
"version": "3.2.11",
"resolved": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz",
"dependencies": {
"minimatch": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz",
"dependencies": {
"lru-cache": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz"
},
"sigmund": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz"
}
}
}
}
},
"inherits": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
},
"mkdirp": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.0.tgz",
"dependencies": {
"minimist": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz"
}
}
},
"nopt": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-2.2.1.tgz",
"dependencies": {
"abbrev": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.5.tgz"
}
}
},
"runforcover": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/runforcover/-/runforcover-0.0.2.tgz",
"dependencies": {
"bunker": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/bunker/-/bunker-0.1.2.tgz",
"dependencies": {
"burrito": {
"version": "0.2.12",
"resolved": "https://registry.npmjs.org/burrito/-/burrito-0.2.12.tgz",
"dependencies": {
"traverse": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/traverse/-/traverse-0.5.2.tgz"
},
"uglify-js": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-1.1.1.tgz"
}
}
}
}
}
}
},
"slide": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz"
},
"yamlish": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/yamlish/-/yamlish-0.0.6.tgz"
}
}
}
}
},
"npm-shrinkwrap": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/npm-shrinkwrap/-/npm-shrinkwrap-4.0.0.tgz",
@ -2768,6 +3130,10 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/safe-json-parse/-/safe-json-parse-2.0.0.tgz"
},
"semver": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-4.1.0.tgz"
},
"sorted-object": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/sorted-object/-/sorted-object-1.0.0.tgz"
@ -2785,13 +3151,51 @@
}
},
"semver": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/semver/-/semver-4.0.3.tgz"
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-4.1.0.tgz"
},
"time-grunt": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/time-grunt/-/time-grunt-1.0.0.tgz",
"dependencies": {
"chalk": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-0.5.1.tgz",
"dependencies": {
"ansi-styles": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.1.0.tgz"
},
"escape-string-regexp": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz"
},
"has-ansi": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-0.1.0.tgz",
"dependencies": {
"ansi-regex": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz"
}
}
},
"strip-ansi": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz",
"dependencies": {
"ansi-regex": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz"
}
}
},
"supports-color": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz"
}
}
},
"date-time": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/date-time/-/date-time-1.0.0.tgz"

Просмотреть файл

@ -2,7 +2,7 @@
'use strict';
var bootlint = require('../src/bootlint.js');
var bootlint = (process.env.BOOTLINT_COV === '1') ? require('../src-cov/bootlint.js') : require('../src/bootlint.js');
var fs = require('fs');
var path = require('path');