Added Husky and lint checks on pre-commit

This commit is contained in:
Liviu Burcusel 2025-12-24 12:50:00 +01:00
parent 52b255df65
commit 623e778429
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
3 changed files with 445 additions and 1 deletions

View file

@ -15,7 +15,8 @@
"type-check": "vue-tsc --noEmit",
"vitest": "vitest",
"test": "vitest run",
"coverage": "vitest run --coverage"
"coverage": "vitest run --coverage",
"prepare": "husky"
},
"dependencies": {
"@pinia/nuxt": "^0.11.3",
@ -42,6 +43,8 @@
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"happy-dom": "^20.0.8",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.6.2",
"sass-embedded": "^1.93.3",
"tailwindcss": "^4.1.18",
@ -49,5 +52,8 @@
"typescript": "^5.9.3",
"vitest": "^4.0.1",
"vue-tsc": "^3.1.8"
},
"lint-staged": {
"*": "npm run lint"
}
}