Skip to content

Commit

Permalink
Added post push script to cleanup dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kathirr007 committed Jun 19, 2023
1 parent de6e35a commit 39472f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .husky/post-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run postpush
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepare": "husky install",
"prepush": "node prepush.mjs"
"prepush": "node prepush.mjs",
"postpush": "npm run prebuild"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -62,4 +63,4 @@
"dependencies": {
"express": "^4.17.1"
}
}
}

1 comment on commit 39472f3

@vercel
Copy link

@vercel vercel bot commented on 39472f3 Jun 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.