Skip to content

Commit

Permalink
fix: Add missing dependency on istanbul-lib-report (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyfarrell committed Oct 19, 2019
1 parent a8b3557 commit 95a2b2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/istanbul-reports/index.js
Expand Up @@ -12,6 +12,10 @@ module.exports = {
try {
Cons = require(path.join(__dirname, 'lib', name));
} catch (e) {
if (e.code !== 'MODULE_NOT_FOUND') {
throw e;
}

Cons = require(name);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/istanbul-reports/package.json
Expand Up @@ -14,6 +14,7 @@
"prepare:watch": "webpack --config lib/html-spa/webpack.config.js --watch --mode development"
},
"dependencies": {
"istanbul-lib-report": "^3.0.0-alpha.1",
"handlebars": "^4.4.2"
},
"devDependencies": {
Expand All @@ -24,7 +25,6 @@
"chai": "^4.2.0",
"is-windows": "^1.0.2",
"istanbul-lib-coverage": "^3.0.0-alpha.1",
"istanbul-lib-report": "^3.0.0-alpha.1",
"mocha": "^6.2.1",
"nyc": "^14.1.1",
"react": "^16.10.2",
Expand Down

0 comments on commit 95a2b2f

Please sign in to comment.