diff --git a/package.json b/package.json index 8e8f4e105..28555ca1c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", - "postinstall": "git config core.hooksPath .git-hooks && cd src/front && npm install", + "prepare": "git config core.hooksPath .git-hooks && cd src/front && npm install", + "postinstall":"cd src/front && npm install", "lint-staged": "lint-staged", "commitlint": "commitlint --edit" }, @@ -31,6 +32,7 @@ "eslint --fix" ], "*.py": [ + "env/scripts/black ./src/back", "env/scripts/pylint" ] },