Skip to content

Commit eb0011c

Browse files
committed
[pkg] Update husky to version 5.1.1
1 parent 2d9296a commit eb0011c

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install lint-staged

.huskyrc.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"eslint": "^7.0.0",
2828
"eslint-config-prettier": "^8.1.0",
2929
"eslint-plugin-prettier": "^3.1.2",
30-
"husky": "^4.2.1",
30+
"husky": "^5.1.1",
3131
"lint-staged": "^10.0.2",
3232
"mocha": "^8.0.1",
3333
"nock": "^13.0.1",
@@ -36,7 +36,8 @@
3636
"scripts": {
3737
"test": "npm run lint && c8 --reporter=lcov --reporter=text mocha",
3838
"watch": "mocha -w",
39-
"lint": "eslint --ignore-path .gitignore . && prettier --check --ignore-path .gitignore \"**/*.{json,md,ts,yaml,yml}\""
39+
"lint": "eslint --ignore-path .gitignore . && prettier --check --ignore-path .gitignore \"**/*.{json,md,ts,yaml,yml}\"",
40+
"prepare": "husky install"
4041
},
4142
"repository": "MONEI/Shopify-api-node",
4243
"keywords": [

0 commit comments

Comments
 (0)