forked from vuejs/vue-test-utils-typescript-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 1.4 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
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "vue-test-utils-typescript-example",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"test": "npm run test:unit",
"test:unit": "jest",
"sonar": "sonar-scanner"
},
"dependencies": {
"jest-sonar-reporter": "^2.0.0",
"sonarqube-scanner": "^2.5.0",
"vue": "^2.5.16"
},
"devDependencies": {
"@types/jest": "^23.3.10",
"@vue/cli-plugin-typescript": "^3.0.0-rc.9",
"@vue/cli-service": "^3.0.0-rc.9",
"@vue/test-utils": "^1.0.0-beta.22",
"jest": "^23.4.2",
"ts-jest": "^23.0.1",
"typescript": "^2.9.0",
"vue-jest": "^2.6.0",
"vue-template-compiler": "^2.5.16"
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*",
"!src/main.ts",
"!src/App.vue",
"!src/**/*.d.*",
"!src/**/*__tests__*"
],
"moduleFileExtensions": [
"js",
"ts",
"json",
"vue"
],
"transform": {
".*\\.(vue)$": "vue-jest",
"^.+\\.tsx?$": "ts-jest"
},
"testURL": "http://localhost/",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?|ts?)$",
"testResultsProcessor": "jest-sonar-reporter"
}
}