forked from vuejs/vue-jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 812 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "vue3-typescript-with-babel",
"version": "1.0.0",
"license": "MIT",
"private": true,
"scripts": {
"test": "jest --no-cache ./sub-project/test.js"
},
"dependencies": {
"vue": "^3.2.22"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"jest": "^27.0.0",
"ts-jest": "^27.0.1",
"typescript": "^4.1.2",
"@vue/vue3-jest": "^27.0.0-alpha.1"
},
"jest": {
"testEnvironment": "jsdom",
"globals": {
"vue-jest": {
"tsConfig": "./sub-project/tsconfig.json"
}
},
"moduleFileExtensions": [
"js",
"json",
"vue"
],
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.vue$": "@vue/vue3-jest"
}
},
"babel": {
"presets": [
"@babel/env"
]
}
}