diff --git a/package.json b/package.json index e9c375c7ba..b6898f73c7 100644 --- a/package.json +++ b/package.json @@ -147,25 +147,25 @@ "node": "24" }, "simple-git-hooks": { - "pre-commit": "npx lint-staged" + "pre-commit": "./node_modules/.bin/lint-staged" }, "lint-staged": { "i18n/locales/*": [ "node ./lunaria/lunaria.ts", - "pnpm oxfmt lunaria/files/", + "./node_modules/.bin/oxfmt lunaria/files/", "git add lunaria/files/", "node scripts/generate-i18n-schema.ts", - "pnpm oxfmt i18n/schema.json", + "./node_modules/.bin/oxfmt i18n/schema.json", "git add i18n/schema.json" ], "*.{js,ts,mjs,cjs,vue}": [ - "pnpm oxlint --fix" + "./node_modules/.bin/oxlint --fix" ], "*.vue": [ - "pnpm lint:css" + "node scripts/unocss-checker.ts" ], "*.{js,ts,mjs,cjs,vue,json,yml,md,html,css}": [ - "pnpm oxfmt" + "./node_modules/.bin/oxfmt" ] }, "packageManager": "pnpm@10.30.1"