-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 1.49 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
{
"name": "vite-vue3",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint ./ --ext ts,vue",
"lint:fix": "eslint ./ --ext ts,vue --fix",
"test": "jest",
"test-cover": "jest --coverage",
"test:w": "npm run test-cover -- --watch"
},
"dependencies": {
"vue": "^3.2.37"
},
"devDependencies": {
"@nekohack/eslint-config-vue": "^1.1.0",
"@types/jest": "^28.1.3",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"@vitejs/plugin-vue": "^2.3.3",
"@vue/compiler-sfc": "^3.2.37",
"@vue/test-utils": "^2.0.0-rc.21",
"babel-jest": "^27.5.1",
"eslint": "^7.7.0",
"jest": "^27.5.1",
"ts-jest": "^27.1.5",
"typescript": "^4.7.4",
"vite": "^2.9.12",
"vue3-jest": "^27.0.0-alpha.1"
},
"jest": {
"globals": {
"ts-jest": {
"tsconfig": "tsConfig.test.json"
}
},
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx",
"vue",
"json",
"node"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1",
"^~/(.*)$": "<rootDir>/src/$1"
},
"testMatch": [
"<rootDir>/tests/*.spec.ts?(x)"
],
"preset": "ts-jest",
"transform": {
"^.+\\js$": "babel-jest",
"^.+\\.vue$": "vue3-jest"
},
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"<rootDir>/node_modules"
],
"transformIgnorePatterns": [
"node_modules"
]
}
}