-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
119 lines (119 loc) · 2.74 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "jest-vue-preprocessor",
"version": "1.7.1",
"description": "Preprocessor that allows importing of .vue files in jest tests",
"main": "index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/vire/jest-vue-preprocessor.git"
},
"bugs": {
"url": "https://github.com/vire/jest-vue-preprocessor/issues"
},
"author": "Viliam Elischer <[email protected]>",
"engines": {
"node": ">= 8.16"
},
"keywords": [
"jest",
"vue",
"test",
"preprocessor",
"transform"
],
"dependencies": {
"babel-plugin-transform-runtime": "6.23.0",
"find-babel-config": "1.2.0",
"vue-property-decorator": "8.3.0"
},
"devDependencies": {
"@babel/core": "7.8.7",
"@babel/preset-env": "7.8.7",
"@babel/template": "7.8.6",
"babel-jest": "24.9.0",
"commitizen": "3.1.2",
"cz-conventional-changelog": "2.1.0",
"eslint": "6.6.0",
"husky": "3.0.9",
"jest": "24.9.0",
"lint-staged": "10.0.9",
"prettier": "1.19.0",
"pug": "2.0.4",
"standard-version": "7.1.0",
"typescript": "3.6.4",
"validate-commit-msg": "2.14.0",
"vue": "2.6.10",
"vue-template-compiler": "2.6.10",
"vue-template-es2015-compiler": "1.9.1"
},
"scripts": {
"cz": "git-cz",
"verify": "npm run style && npm t",
"test": "jest",
"test:watch": "npm t -- --watch",
"test:coverage": "npm t -- --coverage",
"test:ci": "npm run test:coverage",
"style": "eslint .",
"style:fix": "npm run style -- --fix"
},
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"coverageThreshold": {
"global": {
"branches": 40,
"functions": 80,
"lines": 90,
"statements": 80
}
},
"moduleNameMapper": {
"^test/fixtures/(.*)": "<rootDir>/test/fixtures/$1"
},
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/index.js"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"maxSubjectLength": 120
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"style:fix",
"git add"
]
},
"peerDependencies": {
"typescript": "*",
"vue-template-compiler": "2.6.x",
"vue-template-es2015-compiler": "1.9.x"
},
"prettier": {
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"bracketSpacing": true,
"jsxBracketSameLine": true,
"singleQuote": true,
"trailingComma": "es5"
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "lint-staged",
"pre-push": "npm run verify"
}
}
}