Skip to content

Commit

Permalink
fix: husly version
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Nov 24, 2022
1 parent 1220b1a commit 6ffa3db
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"no-debug": "node dist/index.js",
"build": "set NODE_ENV=production&& npx webpack --config webpack.config.js",
"pack": "pkg",
"lint": "eslint . --ext .ts --fix"
"lint": "eslint . --ext .ts --fix",
"prepare": "husky install"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -48,7 +49,7 @@
"eslint-plugin-simple-import-sort": "^8.0.0",
"eslint-plugin-typescript-sort-keys": "^2.1.0",
"git-format-staged": "^3.0.0",
"husky": "^7.0.4",
"husky": "^8.0.0",
"nodemon": "^2.0.15",
"pkg": "^5.5.2",
"prettier": "^2.7.1",
Expand All @@ -63,4 +64,4 @@
"webpack-cli": "^5.0.0",
"webpack-node-externals": "^3.0.0"
}
}
}
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

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

0 comments on commit 6ffa3db

Please sign in to comment.