-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 3.62 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
{
"name": "cnjm-vue-h5",
"private": true,
"version": "0.0.0",
"scripts": {
"bootstrap": "pnpm install",
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
"clean:lib": "rimraf node_modules",
"clean:dist": "rimraf dist",
"serve:dev": "vite",
"serve:staging": "vite --mode staging",
"build:staging": "vue-tsc --noEmit && vite build --mode staging && esno ./build/script/postBuild.ts",
"build": "vue-tsc --noEmit && cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
"preview": "npm run build && vite preview",
"preview:dist": "vite preview",
"prepare": "husky install",
"lint:eslint": "vue-tsc --noEmit --skipLibCheck && eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
"lint:lint-staged": "lint-staged"
},
"dependencies": {
"@vueuse/core": "^10.9.0",
"axios": "^1.7.7",
"crypto-js": "^4.1.1",
"dayjs": "^1.11.13",
"lodash-es": "^4.17.21",
"nprogress": "^0.2.0",
"pinia": "^2.2.2",
"pinia-plugin-persistedstate": "^3.2.3",
"qs": "^6.13.0",
"vant": "^4.9.4",
"vconsole": "^3.15.1",
"vue": "^3.5.0",
"vue-router": "^4.4.3"
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@iconify-json/svg-spinners": "^1.1.2",
"@types/crypto-js": "^4.1.1",
"@types/lodash-es": "^4.17.8",
"@types/nprogress": "^0.2.0",
"@types/qs": "^6.9.7",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"@unocss/preset-attributify": "^0.53.4",
"@unocss/preset-uno": "^0.53.4",
"@vitejs/plugin-vue": "^4.5.1",
"autoprefixer": "^10.4.4",
"chalk": "^5.2.0",
"cnjm-postcss-px-to-viewport": "^1.0.1",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.8.0",
"eslint-define-config": "^1.23.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.15.1",
"esno": "^0.16.3",
"fs-extra": "^11.1.1",
"husky": "^7.0.4",
"less": "^4.2.0",
"lint-staged": "^12.3.7",
"mockjs": "^1.1.0",
"postcss": "^8.4.28",
"postcss-less": "^6.0.0",
"prettier": "^2.6.2",
"rollup": "^4.21.2",
"typescript": "^5.7.3",
"unocss": "^0.58.0",
"unplugin-auto-import": "^0.16.6",
"unplugin-auto-vconsole": "^0.0.5",
"unplugin-icons": "^0.19.2",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.3",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.2",
"vite-plugin-mock": "2.9.6",
"vue-eslint-parser": "^9.4.3",
"vue-tsc": "^2.2.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cnjm-cli-template/vue_h5.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/cnjm-cli-template/vue_h5/issues"
},
"engines": {
"node": "^12 || >=14"
},
"homepage": "https://github.com/cnjm-cli-template/vue_h5",
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --config .prettierrc.js --write"
],
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
"prettier --config .prettierrc.js --write--parser json"
],
"package.json": [
"prettier --config .prettierrc.js --write"
],
"*.vue": [
"eslint --fix",
"prettier --config .prettierrc.js --write"
],
"*.{scss,less,styl,html}": [
"prettier --config .prettierrc.js --write"
],
"*.md": [
"prettier --config .prettierrc.js --write"
]
}
}