diff --git a/package.json b/package.json index 2019a3a44..51e85a5a6 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,13 @@ { "type": "module", "scripts": { + "dev":"cd src/front && npm run dev", + "build":"cd src/front && npm run build", "docs:dev": "vue-md-parser && vitepress dev docs", "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", + "postinstall": "git config core.hooksPath .git-hooks && cd src/front && npm install", "lint-staged": "lint-staged", "commitlint":"commitlint --edit" },