-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
67 lines (67 loc) · 1.99 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
{
"name": "vue3-vite-multiple-page",
"version": "0.0.1",
"author": "ruanlin",
"description": "一个Vue3.2+ts+vite的多页开发模板",
"license": "ISC",
"repository": "https://github.com/dv-cli/vue3-vite-multiple-page",
"scripts": {
"dev": "vite --host",
"main": "vite serve src/modules/main/ --config ./vite.config.ts",
"minor": "vite serve src/modules/minor/ --config ./vite.config.ts",
"build": "vue-tsc --noEmit && vite build ",
"build:main": "vue-tsc --noEmit && vite build --mode main",
"build:minor": "vue-tsc --noEmit && vite build --mode minor",
"preview": "vite preview",
"lint": "eslint src --fix --ext .ts,.tsx,.vue,.js,.jsx",
"prettier": "prettier --write .",
"prepare": "husky install"
},
"dependencies": {
"@vueuse/core": "^7.5.5",
"axios": "^0.25.0",
"naive-ui": "^2.34.4",
"nprogress": "^0.2.0",
"pinia": "^2.0.0-rc.10",
"qs": "^6.11.2",
"vue": "^3.2.25",
"vue-router": "4"
},
"devDependencies": {
"@commitlint/cli": "^16.1.0",
"@commitlint/config-conventional": "^16.0.0",
"@types/node": "^17.0.13",
"@types/nprogress": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"@vicons/ionicons5": "^0.12.0",
"@vitejs/plugin-vue": "^2.0.0",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.3.0",
"husky": "^7.0.4",
"less": "^4.1.2",
"lint-staged": "^12.3.1",
"mrm": "^3.0.10",
"prettier": "^2.5.1",
"typescript": "^4.4.4",
"vfonts": "0.0.3",
"vite": "^2.7.2",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-svg-icons": "^2.0.1",
"vue-tsc": "^0.29.8"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [
"yarn lint",
"prettier --write",
"git add"
]
}
}