Skip to content

Commit 5ab8cf6

Browse files
committed
chore: add precommit hook for lunaria build
1 parent 84714f5 commit 5ab8cf6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@
121121
"pre-commit": "npx lint-staged"
122122
},
123123
"lint-staged": {
124+
"i18n/locales/*": [
125+
"pnpm build:lunaria",
126+
"vite fmt lunaria/files/",
127+
"git add lunaria/files/"
128+
],
124129
"*.{js,ts,mjs,cjs,vue}": [
125130
"vite lint --fix"
126131
],

0 commit comments

Comments
 (0)