-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.05 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
{
"name": "travel-vue",
"description": "Vue 2.7->3.0 开发去哪儿网App",
"version": "0.0.0",
"license": "MIT",
"author": {
"name": "ElanYoung",
"email": "[email protected]",
"url": "https://doc.starimmortal.com"
},
"homepage": "https://github.com/ElanYoung/vite-vue-travel",
"repository": {
"type": "git",
"url": "[email protected]:ElanYoung/vite-vue-travel.git"
},
"bugs": {
"url": "https://github.com/ElanYoung/vite-vue-travel/issues"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview --port 4173",
"lint": "eslint --ext .vue,.js,.jsx,.ts,.tsx ./ --max-warnings 0 --cache --cache-location node_modules/.cache/eslint/",
"lint:fix": "eslint --ext .vue,.js,jsx,.ts,.tsx ./ --max-warnings 0 --cache --cache-location node_modules/.cache/eslint/ --fix",
"stylelint": "stylelint src/**/*.{html,vue,sass,scss,less} --cache --cache-location node_modules/.cache/stylelint/",
"stylelint:fix": "stylelint src/**/*.{html,vue,sass,scss,less} --cache --cache-location node_modules/.cache/stylelint/ --fix",
"prepare": "husky install"
},
"dependencies": {
"axios": "^1.2.1",
"better-scroll": "^2.5.0",
"lodash-es": "^4.17.21",
"nprogress": "^0.2.0",
"swiper": "^6.8.4",
"vant": "^2.12.53",
"vue": "^2.7.14",
"vue-router": "^3.5.4",
"vuex": "^3.6.2"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@vitejs/plugin-vue2": "^2.1.0",
"autoprefixer": "^10.4.13",
"cz-git": "^1.4.0",
"eslint": "^8.29.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-define-config": "^1.12.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.8.0",
"husky": "^8.0.2",
"less": "^4.1.3",
"lint-staged": "^13.1.0",
"mockjs": "^1.1.0",
"postcss-html": "^1.5.0",
"postcss-less": "^6.0.0",
"postcss-px2vp": "^1.1.4",
"prettier": "^2.8.0",
"stylelint": "^14.16.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-recess-order": "^3.0.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-less": "^1.0.6",
"stylelint-order": "^5.0.0",
"unplugin-vue-components": "^0.22.11",
"vite": "^3.2.5",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-style-import": "^2.0.0",
"vue-eslint-parser": "^9.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.vue": [
"prettier --write",
"eslint --fix",
"stylelint --fix"
],
"*.{html,sass,scss,less}": [
"prettier --write",
"stylelint --fix"
],
"package.json": [
"prettier --write"
],
"*.md": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
}
}