-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
70 lines (70 loc) · 2.02 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
{
"name": "vue3-mpa",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite --mode development",
"build": "vite build",
"build:test": "vite build --mode development",
"build:all": "node ./scripts/build.cjs",
"new:page": "node ./scripts/index.mjs",
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --fix",
"lint:script": "eslint --fix --ext .js --ext .ts --ext .vue src/",
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint:prettierrc": "prettier --write .",
"preview": "vite preview"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts,vue}": [
"pnpm run lint:script",
"pnpm run lint:prettierrc",
"git add ."
]
},
"dependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"chalk": "^4.1.2",
"rollup-plugin-visualizer": "^5.12.0",
"unplugin-auto-import": "^0.17.5",
"vant": "^4.2.0",
"vue": "^3.2.47",
"vue-router": "^4.0.13"
},
"devDependencies": {
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@vitejs/plugin-vue": "^4.1.0",
"boxen": "^7.0.2",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.10.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"postcss-px-to-viewport": "^1.1.1",
"prettier": "^2.8.7",
"sass": "^1.61.0",
"stylelint": "^15.4.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^32.0.0",
"stylelint-order": "^6.0.3",
"typescript": "^4.9.3",
"unplugin-vue-components": "^0.24.1",
"vite": "^4.2.0",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-imagemin": "^0.6.1",
"vue-tsc": "^1.2.0"
},
"pnpm": {
"overrides": {
"bin-wrapper": "npm:bin-wrapper-china"
}
}
}