Skip to content

Commit

Permalink
Add a pre-push hook to run the build
Browse files Browse the repository at this point in the history
  • Loading branch information
sis0k0 committed Jun 6, 2024
1 parent e39383a commit f03ac27
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run build
18 changes: 18 additions & 0 deletions package-lock.json

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

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids"
"write-heading-ids": "docusaurus write-heading-ids",
"prepare": "husky"
},
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^1.1.0",
Expand Down Expand Up @@ -45,5 +46,8 @@
"@cmfcmf/docusaurus-search-local": {
"@docusaurus/core": "^3.0.0-rc.0"
}
},
"devDependencies": {
"husky": "^9.0.11"
}
}

0 comments on commit f03ac27

Please sign in to comment.