w
This commit is contained in:
1 parent
59a41b5a12
commit
be64f519b5
6 files changed
+54
-31
No files matched your search
+8
-3
@@ -4,8 +4,9 @@
|
||||
"docs:build": "vitepress build docs",
|
||||
"docs:preview": "vitepress preview docs",
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
||||
"postinstall": "git config core.hooksPath .git-hooks",
|
||||
"lint-staged": "lint-staged"
|
||||
"postinstall": "npx husky-init && xcopy /E /I /Y sys\\hooks\\* .husky\\",
|
||||
"lint-staged": "lint-staged",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.19.0",
|
||||
@@ -16,12 +17,16 @@
|
||||
"globals": "^15.14.0",
|
||||
"lint-staged": "^15.4.3",
|
||||
"prettier": "^3.4.2",
|
||||
"vitepress": "^1.6.3"
|
||||
"vitepress": "^1.6.3",
|
||||
"husky": "^8.0.0"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts,vue}": [
|
||||
"prettier --write",
|
||||
"eslint --fix"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"husky": "^9.1.7"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user