mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
chore: add prettier as linter
This commit is contained in:
19
package.json
19
package.json
@@ -7,18 +7,31 @@
|
||||
"scripts": {
|
||||
"docs:build": "vuepress build docs",
|
||||
"docs:clean-dev": "vuepress dev docs --clean-cache",
|
||||
"docs:dev": "vuepress dev docs"
|
||||
"docs:dev": "vuepress dev docs",
|
||||
"lint": "prettier --check --write .",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vuepress/client": "2.0.0-beta.61",
|
||||
"@vuepress/bundler-vite": "2.0.0-beta.61",
|
||||
"@vuepress/client": "2.0.0-beta.61",
|
||||
"@vuepress/plugin-docsearch": "2.0.0-beta.61",
|
||||
"@vuepress/plugin-google-analytics": "2.0.0-beta.61",
|
||||
"vue": "^3.2.47",
|
||||
"husky": "8.0.3",
|
||||
"nano-staged": "0.8.0",
|
||||
"prettier": "2.8.8",
|
||||
"vue": "3.2.47",
|
||||
"vuepress": "2.0.0-beta.61",
|
||||
"vuepress-plugin-redirect": "2.0.0-beta.206",
|
||||
"vuepress-theme-hope": "2.0.0-beta.206"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"nano-staged": {
|
||||
"*.md": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"packageManager": "pnpm@8.3.1",
|
||||
"pnpm": {
|
||||
"peerDependencyRules": {
|
||||
|
||||
Reference in New Issue
Block a user