Keep calm and commit
This commit is contained in:
parent
48f54ea521
commit
51b2708ca9
1
.husky/pre-commit
Normal file
1
.husky/pre-commit
Normal file
@ -0,0 +1 @@
|
|||||||
|
pnpm run format
|
||||||
@ -8,7 +8,8 @@
|
|||||||
"report": "vite build",
|
"report": "vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
|
||||||
"format": "prettier --write src/"
|
"format": "prettier --write src/",
|
||||||
|
"prepare": "husky"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@jambonn/vue-lazyload": "1.0.9",
|
"@jambonn/vue-lazyload": "1.0.9",
|
||||||
@ -46,4 +47,5 @@
|
|||||||
"vite": "4.5.3",
|
"vite": "4.5.3",
|
||||||
"vite-plugin-cdn-import": "0.3.5"
|
"vite-plugin-cdn-import": "0.3.5"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user