File tree 14 files changed +25
-25
lines changed
14 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 19
19
"jest" : " 27.x" ,
20
20
"ts-jest" : " ^27.0.4" ,
21
21
"typescript" : " ^3.2.2" ,
22
- "vue2-jest" : " ~27.0.0-alpha.1"
22
+ "@vue/ vue2-jest" : " ~27.0.0-alpha.1"
23
23
},
24
24
"jest" : {
25
25
"testEnvironment" : " jsdom" ,
30
30
],
31
31
"transform" : {
32
32
"^.+\\ .js$" : " babel-jest" ,
33
- "^.+\\ .vue$" : " vue2-jest"
33
+ "^.+\\ .vue$" : " @vue/ vue2-jest"
34
34
}
35
35
},
36
36
"babel" : {
Original file line number Diff line number Diff line change 24
24
"sass" : " ^1.23.7" ,
25
25
"ts-jest" : " ^27.0.4" ,
26
26
"typescript" : " ^3.2.2" ,
27
- "vue2-jest" : " ~27.0.0-alpha.1"
27
+ "@vue/ vue2-jest" : " ~27.0.0-alpha.1"
28
28
},
29
29
"jest" : {
30
30
"testEnvironment" : " jsdom" ,
35
35
],
36
36
"transform" : {
37
37
"^.+\\ .js$" : " babel-jest" ,
38
- "^.+\\ .vue$" : " vue2-jest"
38
+ "^.+\\ .vue$" : " @vue/ vue2-jest"
39
39
},
40
40
"moduleNameMapper" : {
41
41
"^~?__styles/(.*)$" : " <rootDir>/components/styles/$1"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import TypeScript from './components/TypeScript.vue'
3
3
import TemplateString from './components/TemplateString.vue'
4
4
import { resolve } from 'path'
5
5
import { readFileSync } from 'fs'
6
- import jestVue from 'vue2-jest'
6
+ import jestVue from '@vue/ vue2-jest'
7
7
import RenderFunction from './components/RenderFunction.vue'
8
8
import Jade from './components/Jade.vue'
9
9
import FunctionalSFC from './components/FunctionalSFC.vue'
Original file line number Diff line number Diff line change 19
19
"postcss" : " ^7.0.13" ,
20
20
"postcss-color-function" : " ^4.0.1" ,
21
21
"sass" : " ^1.23.7" ,
22
- "vue2-jest" : " ~27.0.0-alpha.1"
22
+ "@vue/ vue2-jest" : " ~27.0.0-alpha.1"
23
23
},
24
24
"jest" : {
25
25
"testEnvironment" : " jsdom" ,
30
30
],
31
31
"transform" : {
32
32
"^.+\\ .js$" : " ./babel-transformer.js" ,
33
- "^.+\\ .vue$" : " vue2-jest"
33
+ "^.+\\ .vue$" : " @vue/ vue2-jest"
34
34
},
35
35
"moduleNameMapper" : {
36
36
"^~?__styles/(.*)$" : " <rootDir>/components/styles/$1"
Original file line number Diff line number Diff line change 19
19
"postcss" : " ^7.0.13" ,
20
20
"sass" : " ^1.23.7" ,
21
21
"stylus" : " ^0.54.5" ,
22
- "vue2-jest" : " ~27.0.0-alpha.1"
22
+ "@vue/ vue2-jest" : " ~27.0.0-alpha.1"
23
23
},
24
24
"jest" : {
25
25
"testEnvironment" : " jsdom" ,
30
30
],
31
31
"transform" : {
32
32
"^.+\\ .js$" : " babel-jest" ,
33
- "^.+\\ .vue$" : " vue2-jest"
33
+ "^.+\\ .vue$" : " @vue/ vue2-jest"
34
34
},
35
35
"moduleNameMapper" : {
36
36
"^~tmp/(.*)" : " /tmp/$1" ,
Original file line number Diff line number Diff line change 17
17
"jest" : " ^27.0.0" ,
18
18
"ts-jest" : " ^27.0.1" ,
19
19
"typescript" : " ^4.1.2" ,
20
- "vue3-jest" : " ^27.0.0-alpha.1"
20
+ "@vue/ vue3-jest" : " ^27.0.0-alpha.1"
21
21
},
22
22
"jest" : {
23
23
"testEnvironment" : " jsdom" ,
28
28
],
29
29
"transform" : {
30
30
"^.+\\ .js$" : " babel-jest" ,
31
- "^.+\\ .vue$" : " vue3-jest"
31
+ "^.+\\ .vue$" : " @vue/ vue3-jest"
32
32
}
33
33
},
34
34
"babel" : {
Original file line number Diff line number Diff line change 23
23
"ts-jest" : " ^27.0.1" ,
24
24
"typescript" : " ^4.1.2" ,
25
25
"vue-class-component" : " ^8.0.0-beta.4" ,
26
- "vue3-jest" : " ^27.0.0-alpha.1" ,
26
+ "@vue/ vue3-jest" : " ^27.0.0-alpha.1" ,
27
27
"vue-property-decorator" : " ^10.0.0-rc.3"
28
28
},
29
29
"jest" : {
37
37
"transform" : {
38
38
"^.+\\ .ts$" : " ts-jest" ,
39
39
"^.+\\ .js$" : " babel-jest" ,
40
- "^.+\\ .vue$" : " vue3-jest"
40
+ "^.+\\ .vue$" : " @vue/ vue3-jest"
41
41
},
42
42
"moduleNameMapper" : {
43
43
"^~?__styles/(.*)$" : " <rootDir>/components/styles/$1"
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import ClassComponent from './components/ClassComponent.vue'
11
11
import ClassComponentWithMixin from './components/ClassComponentWithMixin.vue'
12
12
import ClassComponentProperty from './components/ClassComponentProperty.vue'
13
13
import TypeScript from './components/TypeScript.vue'
14
- import jestVue from 'vue3-jest'
14
+ import jestVue from '@vue/ vue3-jest'
15
15
import RenderFunction from './components/RenderFunction.vue'
16
16
import FunctionalSFC from './components/FunctionalSFC.vue'
17
17
import CoffeeScript from './components/CoffeeScript.vue'
Original file line number Diff line number Diff line change 20
20
"postcss" : " ^7.0.13" ,
21
21
"postcss-color-function" : " ^4.0.1" ,
22
22
"sass" : " ^1.23.7" ,
23
- "vue3-jest" : " ^27.0.0-alpha.1"
23
+ "@vue/ vue3-jest" : " ^27.0.0-alpha.1"
24
24
},
25
25
"jest" : {
26
26
"testEnvironment" : " jsdom" ,
31
31
],
32
32
"transform" : {
33
33
"^.+\\ .js$" : " ./babel-transformer.js" ,
34
- "^.+\\ .vue$" : " vue3-jest"
34
+ "^.+\\ .vue$" : " @vue/ vue3-jest"
35
35
},
36
36
"moduleNameMapper" : {
37
37
"^~?__styles/(.*)$" : " <rootDir>/components/styles/$1"
Original file line number Diff line number Diff line change 14
14
"@babel/preset-env" : " ^7.9.0" ,
15
15
"coffeescript" : " ^2.3.2" ,
16
16
"jest" : " ^27.0.0" ,
17
- "vue3-jest" : " ^27.0.0-alpha.1"
17
+ "@vue/ vue3-jest" : " ^27.0.0-alpha.1"
18
18
},
19
19
"jest" : {
20
20
"testEnvironment" : " jsdom" ,
25
25
],
26
26
"transform" : {
27
27
"^.+\\ .js$" : " babel-jest" ,
28
- "^.+\\ .vue$" : " vue3-jest"
28
+ "^.+\\ .vue$" : " @vue/ vue3-jest"
29
29
}
30
30
},
31
31
"babel" : {
Original file line number Diff line number Diff line change 19
19
"postcss" : " ^7.0.13" ,
20
20
"sass" : " ^1.23.7" ,
21
21
"stylus" : " ^0.54.5" ,
22
- "vue3-jest" : " ^27.0.0-alpha.1"
22
+ "@vue/ vue3-jest" : " ^27.0.0-alpha.1"
23
23
},
24
24
"jest" : {
25
25
"testEnvironment" : " jsdom" ,
30
30
],
31
31
"transform" : {
32
32
"^.+\\ .js$" : " babel-jest" ,
33
- "^.+\\ .vue$" : " vue3-jest"
33
+ "^.+\\ .vue$" : " @vue/ vue3-jest"
34
34
},
35
35
"moduleNameMapper" : {
36
36
"^~?__styles/(.*)$" : " <rootDir>/components/styles/$1"
Original file line number Diff line number Diff line change 16
16
"jest" : " ^27.0.0" ,
17
17
"ts-jest" : " ^27.0.1" ,
18
18
"typescript" : " ^4.1.2" ,
19
- "vue3-jest" : " ^27.0.0-alpha.1"
19
+ "@vue/ vue3-jest" : " ^27.0.0-alpha.1"
20
20
},
21
21
"jest" : {
22
22
"testEnvironment" : " jsdom" ,
32
32
],
33
33
"transform" : {
34
34
"^.+\\ .js$" : " babel-jest" ,
35
- "^.+\\ .vue$" : " vue3-jest"
35
+ "^.+\\ .vue$" : " @vue/ vue3-jest"
36
36
}
37
37
},
38
38
"babel" : {
Original file line number Diff line number Diff line change 15
15
"jest" : " ^27.0.0" ,
16
16
"ts-jest" : " ^27.0.1" ,
17
17
"typescript" : " ^4.1.2" ,
18
- "vue3-jest" : " ^27.0.0-alpha.1"
18
+ "@vue/ vue3-jest" : " ^27.0.0-alpha.1"
19
19
},
20
20
"jest" : {
21
21
"testEnvironment" : " jsdom" ,
30
30
},
31
31
"transform" : {
32
32
"^.+\\ .ts$" : " ts-jest" ,
33
- "^.+\\ .vue$" : " vue3-jest"
33
+ "^.+\\ .vue$" : " @vue/ vue3-jest"
34
34
}
35
35
}
36
36
}
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " vue3-jest" ,
2
+ "name" : " @vue/ vue3-jest" ,
3
3
"version" : " 27.0.0-alpha.2" ,
4
4
"description" : " Jest Vue transform" ,
5
5
"main" : " lib/index.js" ,
You can’t perform that action at this time.
0 commit comments