-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.65 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
{
"name": "vebsite",
"description": "Website of Van",
"keywords": [
"vebsite"
],
"homepage": "https://github.com/fqd511/vebsite",
"bugs": "https://github.com/fqd511/vebsite/issues",
"repository": {
"type": "git",
"url": "https://github.com/fqd511/vebsite"
},
"author": "Van <[email protected]> (https://www.fanqidi.com/)",
"scripts": {
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"build:server": "vite build",
"serve": "vite preview",
"lint": "npm run lint:script && npm run lint:style && npm run lint:prettier",
"lint:script": "eslint --cache --ext .js,.ts,.vue ./src",
"lint:style": "stylelint \"src/**/*.scss\"",
"lint:prettier": "prettier -c \"src/**/*.{js,ts,vue,json,css,scss,less,md}\"",
"lint:fix": "npm run lint:fix-script && npm run lint:fix-style",
"lint:fix-script": "eslint --fix --cache --ext .js,.ts,.vue ./src",
"lint:fix-style": "stylelint --fix \"src/**/*.scss\"",
"lint:fix-prettier": "prettier -c --write \"**/*\"",
"prepare": "husky install"
},
"dependencies": {
"@vueuse/core": "^7.7.1",
"normalize.css": "^8.0.1",
"pinia": "^2.0.12",
"typeit": "^8.4.0",
"vue": "^3.2.31",
"vue-i18n": "^9.1.9",
"vue-router": "^4.0.14"
},
"devDependencies": {
"@iconify-json/eos-icons": "^1.1.1",
"@iconify-json/ic": "^1.1.2",
"@intlify/vite-plugin-vue-i18n": "^3.3.1",
"@types/markdown-it-link-attributes": "^3.0.1",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"@unocss/preset-icons": "^0.28.3",
"@vitejs/plugin-vue": "^2.2.4",
"@vue/compiler-sfc": "^3.2.31",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.6.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"markdown-it-link-attributes": "^4.0.0",
"markdown-it-prism": "^2.2.3",
"postcss": "^8.4.12",
"prettier": "2.5.1",
"sass": "^1.49.9",
"stylelint": "^14.6.1",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^3.0.0",
"typescript": "^4.6.2",
"unocss": "^0.28.3",
"unplugin-auto-import": "^0.6.6",
"unplugin-vue-components": "^0.17.21",
"vite": "^2.8.6",
"vite-plugin-md": "^0.11.9",
"vue-tsc": "^0.29.8"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{html,css,scss}": [
"prettier --write",
"pnpm run lint:style",
"git add"
],
"*.{js,ts,vue}": [
"prettier --write",
"pnpm run lint:script",
"git add -A"
]
}
}