Skip to content

Commit 3eb6153

Browse files
committed
feat: move istanbul-lib-coverage from peer to prod dependencies
1 parent 0101cc1 commit 3eb6153

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ This plugin will slow down your tests. There will be more web application JavaSc
1111
npm install -D @cypress/code-coverage
1212
```
1313

14-
and its peer dependencies
15-
16-
```shell
17-
npm install -D istanbul-lib-coverage cypress
18-
```
14+
Note: this plugin assumes `cypress` is a peer dependency already installed in your project.
1915

2016
Add to your `cypress/support/index.js` file
2117

package-lock.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
"effective:config": "circleci config process .circleci/config.yml | sed /^#/d"
2222
},
2323
"peerDependencies": {
24-
"cypress": "*",
25-
"istanbul-lib-coverage": "*"
24+
"cypress": "*"
2625
},
2726
"repository": {
2827
"type": "git",
@@ -53,15 +52,15 @@
5352
"@cypress/browserify-preprocessor": "2.1.4",
5453
"debug": "4.1.1",
5554
"execa": "4.0.0",
56-
"nyc": "15.0.0"
55+
"nyc": "15.0.0",
56+
"istanbul-lib-coverage": "3.0.0"
5757
},
5858
"devDependencies": {
5959
"@babel/core": "7.9.0",
6060
"@istanbuljs/nyc-config-typescript": "1.0.1",
6161
"babel-plugin-istanbul": "6.0.0",
6262
"cypress": "4.2.0",
6363
"express": "4.17.1",
64-
"istanbul-lib-coverage": "3.0.0",
6564
"lodash": "4.17.15",
6665
"markdown-link-check": "3.8.0",
6766
"parcel-bundler": "1.12.4",

0 commit comments

Comments
 (0)