-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.69 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": "my-vue",
"private": true,
"version": "0.0.0",
"scripts": {
"serve": "npm run dev",
"dev": "vite",
"build": "cross-env NODE_ENV=production vite build",
"build:test": "cross-env vite build --mode test",
"report": "cross-env REPORT=true npm run build",
"type:check": "vue-tsc --noEmit --skipLibCheck",
"preview": "npm run build && vite preview",
"preview:dist": "vite preview",
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
"clean:lib": "rimraf node_modules",
"lint:fix": "npm run lint:eslint && npm run lint:prettier && npm run lint:stylelint",
"lint:eslint": "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:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint:lint-staged": "lint-staged"
},
"dependencies": {
"@ant-design/colors": "^6.0.0",
"@iconify/iconify": "^2.2.1",
"ant-design-vue": "^3.2.4",
"axios": "^0.27.2",
"good-storage": "^1.1.1",
"lodash": "^4.17.21",
"mockjs": "^1.1.0",
"pinia": "^2.0.14",
"qs": "^6.10.3",
"vue": "^3.2.25",
"vue-router": "^4.0.15"
},
"devDependencies": {
"@iconify-json/ant-design": "^1.1.1",
"@iconify/json": "^2.1.61",
"@types/mockjs": "^1.0.6",
"@types/node": "^17.0.35",
"@types/qs": "^6.9.7",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"@vitejs/plugin-legacy": "^1.8.2",
"@vitejs/plugin-vue": "^2.3.3",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"autoprefixer": "^10.4.7",
"cross-env": "^7.0.3",
"cz-customizable": "^6.3.0",
"dotenv": "^16.0.1",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^9.0.1",
"husky": "^8.0.1",
"less": "^4.1.2",
"lint-staged": "^12.4.1",
"postcss": "^8.4.14",
"postcss-html": "^1.4.1",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"rollup": "^2.74.1",
"rollup-plugin-visualizer": "^5.6.0",
"stylelint": "^14.8.3",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^25.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.5.0",
"ts-node": "^10.8.0",
"typescript": "^4.6.4",
"unplugin-auto-import": "^0.8.5",
"unplugin-icons": "^0.14.3",
"unplugin-vue-components": "^0.19.5",
"vite": "^2.9.9",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-pages": "^0.23.0",
"vite-plugin-purge-icons": "^0.8.1",
"vite-plugin-restart": "^0.1.1",
"vite-plugin-spritesmith": "^0.1.1",
"vite-plugin-style-import": "^2.0.0",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-layouts": "^0.6.0",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vue-tsc": "^0.34.16"
},
"resolutions": {
"rollup": "^2.56.3"
},
"engines": {
"node": "^12 || >=14"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
"prettier --write--parser json"
],
"package.json": [
"prettier --write"
],
"*.vue": [
"eslint --fix",
"prettier --write",
"stylelint --fix"
],
"*.{scss,less,styl,html}": [
"stylelint --fix",
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
}
}