Skip to content

Commit

Permalink
Dep Upgrades (segmentio#448)
Browse files Browse the repository at this point in the history
* ansi-regex

* ngrok

* husky
  • Loading branch information
pooyaj authored May 4, 2022
1 parent 825cfcd commit ff9066d
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 199 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"run-example": "cd example && yarn && yarn dev",
"clean": "rm -rf dist",
"lint": "eslint '**/*.{js,jsx,ts,tsx}'",
"prepare": "yarn pkg"
"prepare": "yarn pkg && husky install"
},
"size-limit": [
{
Expand Down Expand Up @@ -98,7 +98,7 @@
"express": "^4.17.1",
"flat": "^5.0.2",
"fs-extra": "^9.0.1",
"husky": "^4.2.3",
"husky": "^7.0.0",
"jest": "^26.6.3",
"jest-dev-server": "^4.4.0",
"jquery": "^3.5.1",
Expand All @@ -108,8 +108,8 @@
"log-update": "^4.0.0",
"micro-memoize": "^4.0.9",
"mime": "^2.4.6",
"ngrok": "^3.3.0",
"np": "^7.5.0",
"ngrok": "^4.3.1",
"np": "^7.6.1",
"p-map": "^4.0.0",
"playwright": "^1.20.0",
"prettier": "^2.6.2",
Expand All @@ -128,10 +128,5 @@
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.8.0",
"yarn": "^1.22.10"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}
Loading

0 comments on commit ff9066d

Please sign in to comment.