-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.18 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.18 KB
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
{
"version": "0.0.0",
"scripts": {
"dev": "vite --open",
"build": "vite build",
"serve": "vite preview",
"commit": "git add . && git cz",
"gen": "bash ./scripts/gc.sh",
"test-unit": "yarn jest --watch",
"test-e2e": "cypress open",
"test-e2e-ci": "cypress run",
"test-ct": "cypress open-ct",
"test-ct-ci": "cypress run-ct",
"test": "yarn test-unit && yarn test-ct-ci && yarn test-e2e-ci",
"lint": "eslint --ext .ts,vue src/** --no-error-on-unmatched-pattern"
},
"lint-staged": {
"*.(ts, vue)": "eslint --fix",
"*": "prettier -w -u"
},
"dependencies": {
"@icon-park/vue-next": "^1.3.3",
"axios": "^0.21.1",
"mockjs": "^1.1.0",
"normalize.css": "^8.0.1",
"vant": "^3.0.18",
"vue": "^3.0.5",
"vue-router": "^4.0.9",
"vue3-lazyload": "^0.2.2-beta",
"vuex": "^4.0.1"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@cypress/vite-dev-server": "^2.0.0",
"@cypress/vue": "^3.0.0-beta.1",
"@testing-library/jest-dom": "^5.14.1",
"@types/jest": "^26.0.23",
"@types/mockjs": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"@vitejs/plugin-vue": "^1.2.3",
"@vue/compiler-sfc": "^3.0.5",
"@vue/eslint-config-typescript": "^7.0.0",
"@vue/test-utils": "^2.0.0-rc.6",
"babel": "^6.23.0",
"babel-jest": "^27.0.2",
"cross-env": "^7.0.3",
"cypress": "^7.5.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.28.0",
"eslint-plugin-vue": "^7.11.1",
"husky": "^6.0.0",
"jest": "^27.0.4",
"local-cypress": "^1.2.1",
"sass": "^1.34.1",
"ts-jest": "^27.0.3",
"typescript": "^4.3.2",
"vite": "^2.3.7",
"vite-plugin-mock": "^2.7.2",
"vue-jest": "^5.0.0-alpha.10",
"vue-tsc": "^0.1.7"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-commit": "lint-staged"
}
}
}