Skip to content

Commit 744d676

Browse files
Installed Husky
1 parent e548d39 commit 744d676

File tree

3 files changed

+31
-8
lines changed

3 files changed

+31
-8
lines changed

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm run build

package-lock.json

Lines changed: 27 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"preview": "astro preview",
1515
"astro": "astro",
1616
"format": "prettier -w .",
17-
"lint:eslint": "eslint ."
17+
"lint:eslint": "eslint .",
18+
"prepare": "husky"
1819
},
1920
"dependencies": {
2021
"@astrojs/netlify": "^5.2.1",
@@ -49,6 +50,7 @@
4950
"eslint-plugin-astro": "^1.2.0",
5051
"eslint-plugin-jsx-a11y": "^6.8.0",
5152
"globals": "^15.2.0",
53+
"husky": "^9.0.11",
5254
"js-yaml": "^4.1.0",
5355
"mdast-util-to-string": "^4.0.0",
5456
"prettier": "^3.2.5",

0 commit comments

Comments
 (0)