Skip to content

Commit

Permalink
chore: added pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-deriv committed Sep 18, 2024
1 parent 0b562d3 commit d0567d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Empty file removed .github/hooks/pre-commit
Empty file.
1 change: 1 addition & 0 deletions .github/hooks/precommit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run precommit:generate-bundle
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"serve": "npm run build && http-server ./dist -p 3456 --cors"
"serve": "npm run build && http-server ./dist -p 3456 --cors",
"precommit:generate-bundle": "node scripts/generate-bundle-script.js"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
Expand Down

0 comments on commit d0567d7

Please sign in to comment.