-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
123 lines (123 loc) · 3.88 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
120
121
122
123
{
"name": "vue3-h5-template",
"version": "0.2.5",
"description": "A mobile development template built on Vite, Vue3, TypeScript, Vue Router, Pinia, Vant 4, etc.",
"license": "MIT",
"author": {
"name": "aisen60",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/Aisen60/vue3-h5-template.git"
},
"bugs": {
"url": "https://github.com/Aisen60/vue3-h5-template/issues"
},
"homepage": "https://github.com/Aisen60/vue3-h5-template#readme",
"keywords": [
"vue3-h5-template",
"vue-mobile-template",
"vue-vant-template",
"vant-mobile-template",
"vant-theme"
],
"type": "module",
"scripts": {
"bootstrap": "pnpm install",
"dev": "vite",
"build": "npm run build:prod",
"build:sit": "npm run type-check && vite build --mode sit",
"build:uat": "npm run type-check && vite build --mode uat",
"build:prod": "npm run type-check && vite build",
"build:gh-pages": "npm run type-check && vite build --mode gh-pages",
"preview": "vite preview --port 4173",
"type-check": "vue-tsc --noEmit",
"lint:eslint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"svgo:single": "node src/icons/build/single.js",
"svgo:multiple": "node src/icons/build/multiple.js",
"lint:lint-staged": "lint-staged",
"prepare": "husky"
},
"dependencies": {
"@unocss/reset": "^0.58.8",
"@vueuse/core": "^10.9.0",
"dayjs": "^1.11.11",
"lodash-es": "^4.17.21",
"normalize.css": "^8.0.1",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"umi-request": "^1.4.0",
"vant": "^4.9.0",
"vconsole": "^3.15.1",
"vue": "^3.4.27",
"vue-router": "^4.3.2"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.10.3",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.11.28",
"@vant/auto-import-resolver": "^1.1.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.5.1",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.17.0",
"fs-extra": "^11.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"npm-run-all2": "^6.1.2",
"postcss": "^8.4.38",
"postcss-html": "^1.6.0",
"postcss-mobile-forever": "^4.1.4",
"postcss-px-to-viewport-8-plugin": "^1.2.5",
"postcss-scss": "^4.0.9",
"prettier": "^3.2.5",
"sass": "^1.72.0",
"sass-loader": "^14.1.1",
"stylelint": "^15.11.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-property-sort-order-smacss": "^9.1.0",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^10.0.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^4.1.0",
"svgo": "^3.2.0",
"tailwindcss": "^3.4.3",
"typescript": "~5.4.5",
"unplugin-auto-import": "^0.17.6",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.2.11",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.2",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vconsole": "^2.1.1",
"vite-plugin-vue-devtools": "^7.0.20",
"vue-tsc": "^2.0.19"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"package.json": [
"prettier --write"
],
"*.vue": [
"eslint --fix",
"prettier --write",
"stylelint --fix"
],
"*.{scss,html}": [
"stylelint --fix",
"prettier --write"
]
}
}