File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
packages/@vue/cli-plugin-e2e-cypress Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ if (!process.env.APPVEYOR) {
13
13
}
14
14
} )
15
15
16
+ const pkg = JSON . parse ( await project . read ( 'package.json' ) )
17
+ expect ( pkg . devDependencies ) . toHaveProperty ( '@cypress/webpack-preprocessor' )
18
+
16
19
const config = JSON . parse ( await project . read ( 'cypress.json' ) )
17
20
config . video = false
18
21
await project . write ( 'cypress.json' , JSON . stringify ( config ) )
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ module.exports = api => {
5
5
} )
6
6
7
7
api . extendPackage ( {
8
+ devDependencies : {
9
+ '@cypress/webpack-preprocessor' : '^3.0.0'
10
+ } ,
8
11
scripts : {
9
12
'test:e2e' : 'vue-cli-service test:e2e'
10
13
}
Original file line number Diff line number Diff line change 22
22
"access" : " public"
23
23
},
24
24
"dependencies" : {
25
- "@cypress/webpack-preprocessor" : " ^3.0.0" ,
26
25
"@vue/cli-shared-utils" : " ^3.0.4" ,
27
26
"cypress" : " ^3.0.2" ,
28
27
"eslint-plugin-cypress" : " ^2.0.1"
28
+ },
29
+ "peerDependencies" : {
30
+ "@cypress/webpack-preprocessor" : " ^3.0.0"
29
31
}
30
32
}
You can’t perform that action at this time.
0 commit comments