Skip to content

Commit

Permalink
fix: Update (dev)dependencies, include missing peer dependency and fi…
Browse files Browse the repository at this point in the history
…x linter errors
  • Loading branch information
Ruben Bridgewater committed Oct 20, 2015
1 parent 9dee398 commit bb73158
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
12 changes: 6 additions & 6 deletions lib/preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ function createCoveragePreprocessor (logger, helper, basePath, reporters, covera
var sourceCache = globalSourceCache.get(basePath)

var instrumentersOptions = _.reduce(instrumenters, function getInstumenterOptions (memo, instrument, name) {
memo[name] = {}
memo[name] = {}

if (coverageReporter && coverageReporter.instrumenterOptions) {
memo[name] = coverageReporter.instrumenterOptions[name]
}
if (coverageReporter && coverageReporter.instrumenterOptions) {
memo[name] = coverageReporter.instrumenterOptions[name]
}

return memo
}, {})
return memo
}, {})

// if coverage reporter is not used, do not preprocess the files
if (!_.contains(reporters, 'coverage')) {
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,22 @@
],
"author": "SATO taichi <ryushi@gmail.com>",
"dependencies": {
"istanbul": "^0.3.15",
"istanbul": "^0.4.0",
"dateformat": "^1.0.6",
"minimatch": "^2.0.8",
"source-map": "^0.4.2"
"minimatch": "^3.0.0",
"source-map": "^0.5.1"
},
"license": "MIT",
"devDependencies": {
"chai": "^2.3.0",
"chai": "^3.3.0",
"eslint": "^1.0.0",
"eslint-config-standard": "^4.0.0",
"eslint-plugin-react": "^3.2.0",
"eslint-plugin-standard": "^1.1.0",
"grunt": "^0.4.1",
"grunt-bump": "^0.3.1",
"grunt-conventional-changelog": "^3.0.0",
"grunt-conventional-github-releaser": "^0.2.0",
"grunt-bump": "^0.6.0",
"grunt-conventional-changelog": "^5.0.0",
"grunt-conventional-github-releaser": "^0.5.0",
"grunt-eslint": "^17.0.0",
"grunt-karma": "^0.12.0",
"grunt-npm": "^0.0.2",
Expand Down

0 comments on commit bb73158

Please sign in to comment.