- Install Husky with commit-msg and pre-commit hooks - Add commitlint CLI and conventional config for enforcing commit message standards - Configure pre-commit to run lint-staged for code quality checks - Update bun.lock with new dev dependencies This setup ensures consistent commit messages and automated linting before commits.
22 lines
455 B
JSON
22 lines
455 B
JSON
{
|
|
"name": "srjuggernaut_dev",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"prepare": "bun .husky/install.mts"
|
|
},
|
|
"dependencies": {
|
|
"astro": "^5.17.1"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.3.13",
|
|
"@commitlint/cli": "^20.4.1",
|
|
"@commitlint/config-conventional": "^20.4.1",
|
|
"husky": "^9.1.7"
|
|
}
|
|
}
|