Skip to content

Commit

Permalink
Installed Husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold-Anderson committed Jun 15, 2024
1 parent e548d39 commit 744d676
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 8 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run build
34 changes: 27 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"preview": "astro preview",
"astro": "astro",
"format": "prettier -w .",
"lint:eslint": "eslint ."
"lint:eslint": "eslint .",
"prepare": "husky"
},
"dependencies": {
"@astrojs/netlify": "^5.2.1",
Expand Down Expand Up @@ -49,6 +50,7 @@
"eslint-plugin-astro": "^1.2.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"globals": "^15.2.0",
"husky": "^9.0.11",
"js-yaml": "^4.1.0",
"mdast-util-to-string": "^4.0.0",
"prettier": "^3.2.5",
Expand Down

0 comments on commit 744d676

Please sign in to comment.