-
Notifications
You must be signed in to change notification settings - Fork 157
/
Copy pathpackage.json
49 lines (49 loc) · 1.1 KB
/
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
43
44
45
46
47
48
49
{
"name": "vue3-custom-transformers",
"version": "1.0.0",
"license": "MIT",
"private": true,
"scripts": {
"test": "jest --no-cache --coverage test.js"
},
"dependencies": {
"vue": "^3.2.22"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@vue/test-utils": "^2.0.0-rc.10",
"@vue/vue3-jest": "^29.0.0",
"babel-jest": "29.x",
"css-tree": "^2.0.1",
"jest": "29.x",
"jest-environment-jsdom": "29.x",
"postcss": "^8.4.31",
"postcss-color-function": "^4.0.1",
"sass": "^1.23.7"
},
"jest": {
"testEnvironment": "jsdom",
"moduleFileExtensions": [
"js",
"json",
"vue"
],
"transform": {
"^.+\\.js$": "./babel-transformer.js",
"^.+\\.vue$": "@vue/vue3-jest"
},
"moduleNameMapper": {
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"
},
"globals": {
"vue-jest": {
"transform": {
"^scss$": "./scss-transformer.js",
"^pcss|postcss$": "./pcss-transformer.js",
"^js$": "./babel-transformer.js"
}
}
}
}
}