Skip to content

Commit 23d2518

Browse files
danielroetaskylizard
authored andcommitted
chore: add precommit hook for lunaria build
1 parent 252c450 commit 23d2518

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
@@ -122,6 +122,11 @@
122122
"pre-commit": "npx lint-staged"
123123
},
124124
"lint-staged": {
125+
"i18n/locales/*": [
126+
"pnpm build:lunaria",
127+
"vite fmt lunaria/files/",
128+
"git add lunaria/files/"
129+
],
125130
"*.{js,ts,mjs,cjs,vue}": [
126131
"vite lint --fix"
127132
],

0 commit comments

Comments
 (0)