You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
802 B
38 lines
802 B
5 years ago
|
{
|
||
|
"name": "testjest",
|
||
|
"description": "jest",
|
||
|
"version": "1.0.0",
|
||
|
"author": "xiangcaibiao",
|
||
|
"private": true,
|
||
|
"scripts": {
|
||
|
"test": "jest --coverage"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"vue": "^2.4.4"
|
||
|
},
|
||
|
"jest": {
|
||
|
"moduleFileExtensions": [
|
||
|
"js",
|
||
|
"vue"
|
||
|
],
|
||
|
"moduleNameMapper": {
|
||
|
"^@/(.*)$": "<rootDir>/src/$1"
|
||
|
},
|
||
|
"transform": {
|
||
|
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
|
||
|
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
|
||
|
},
|
||
|
"snapshotSerializers": [
|
||
|
"<rootDir>/node_modules/jest-serializer-vue"
|
||
|
]
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@vue/test-utils": "^1.0.0-beta.30",
|
||
|
"babel-jest": "^24.9.0",
|
||
|
"babel-preset-env": "^1.7.0",
|
||
|
"jest": "^24.9.0",
|
||
|
"jest-serializer-vue": "^2.0.2",
|
||
|
"vue-jest": "^3.0.5"
|
||
|
}
|
||
|
}
|