forked from iMuFeng/vite-vue2-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.83 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
{
"name": "vite-vue2-starter",
"version": "0.0.1",
"scripts": {
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"test": "jest",
"cov": "jest --coverage",
"lint": "eslint . --ext .js --ext .vue --quiet --fix",
"type-check": "tsc --pretty --noEmit"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,vue}": [
"eslint -c .eslintrc.js --fix"
]
},
"dependencies": {
"pinia": "^2.0.14",
"vue": "^2.7.8",
"vue-router": "3.5.4"
},
"devDependencies": {
"@types/jest": "^28.1.4",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.3",
"@typescript-eslint/parser": "^5.30.3",
"@vitejs/plugin-vue2": "^1.1.2",
"@vue/eslint-config-standard": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/test-utils": "1.3.0",
"@vue/vue2-jest": "https://gitpkg.now.sh/FelixGraf/vue-jest/packages/vue2-jest?master",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-vue": "^9.1.1",
"husky": "^8.0.1",
"jest": "^28.1.2",
"jest-environment-jsdom": "^28.1.2",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4",
"vite": "^3.0.0",
"vue-template-compiler": "2.7.8"
},
"jest": {
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"customExportConditions": [
"node",
"node-addons"
]
},
"transform": {
"^.+.ts$": "ts-jest",
"^.+.vue$": "@vue/vue2-jest"
},
"moduleFileExtensions": [
"js",
"ts",
"vue",
"json"
],
"testMatch": [
"**/test/**/*.ts",
"**/__tests__/**/*.spec.ts"
]
}
}