diff --git a/npm/react/package.json b/npm/react/package.json index 9ff12a47d164..d5057d7f2687 100644 --- a/npm/react/package.json +++ b/npm/react/package.json @@ -103,6 +103,7 @@ "peerDependencies": { "@babel/core": "^=7.x", "@babel/preset-env": "^=7.x", + "@cypress/webpack-dev-server": "*", "@types/react": "^16.9.16 || ^17.0.0", "babel-loader": "^=8.x", "cypress": "*", @@ -141,6 +142,9 @@ "@babel/preset-env": { "optional": true }, + "@cypress/webpack-dev-server": { + "optional": true + }, "@types/react": { "optional": true }, diff --git a/npm/vue/package.json b/npm/vue/package.json index 5d3be7c5752d..52fbc6e80816 100644 --- a/npm/vue/package.json +++ b/npm/vue/package.json @@ -12,7 +12,6 @@ "watch": "tsc -w" }, "dependencies": { - "@cypress/webpack-dev-server": "0.0.0-development", "@vue/test-utils": "1.0.3", "unfetch": "4.1.0" }, @@ -21,6 +20,7 @@ "@babel/plugin-transform-modules-commonjs": "7.10.4", "@babel/preset-env": "7.9.5", "@cypress/code-coverage": "3.8.1", + "@cypress/webpack-dev-server": "0.0.0-development", "@intlify/vue-i18n-loader": "1.0.0", "@vue/cli-plugin-babel": "~4.4.0", "@vue/cli-service": "~4.4.0", @@ -45,6 +45,7 @@ "webpack": "4.42.0" }, "peerDependencies": { + "@cypress/webpack-dev-server": "*", "babel-loader": "8", "cypress": ">=4.5.0", "vue": "2.x" @@ -68,6 +69,11 @@ "cypress", "vue" ], + "peerDependenciesMeta": { + "@cypress/webpack-dev-server": { + "optional": true + } + }, "publishConfig": { "access": "public", "registry": "http://registry.npmjs.org/"