diff --git a/package.json b/package.json index 7e4b59b..c361b0e 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "build:mock": "vite build --mode mock", "serve": "vite preview", "lint": "eslint --fix --ext .js,.vue src", - "precommit": "lint-staged" + "precommit": "npm run lint-staged" }, "browserslist": [ "> 1%",