Skip to content

Commit

Permalink
chore: fix Husky
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 15, 2022
1 parent 58ab7bc commit 27d76a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions package-lock.json

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

8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"dist/*.{js,ts}"
],
"scripts": {
"prepare": "husky install node_modules/@netlify/eslint-config-node/.husky/",
"prepublishOnly": "npm ci && run-s build test",
"test": "jest",
"build": "tsc",
Expand All @@ -24,12 +25,6 @@
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{src,tests,.github}/**/*.{ts,js,html}\" \"*.{ts,js,html}\" \".*.{ts,js,html}\"",
"prettier": "--ignore-path .gitignore --loglevel=warn \"{src,tests,.github}/**/*.{ts,js,md,yml,json,html}\" \"*.{ts,js,yml,json,html}\" \".*.{ts,js,yml,json,html}\" \"!package-lock.json\""
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run format"
}
},
"keywords": [
"github",
"release",
Expand All @@ -44,6 +39,7 @@
"@netlify/eslint-config-node": "^4.1.3",
"@types/jest": "^27.0.0",
"@types/node": "^16.0.0",
"husky": "^7.0.4",
"jest": "^27.0.0",
"ts-jest": "^27.0.0",
"typescript": "^4.0.0"
Expand Down

0 comments on commit 27d76a1

Please sign in to comment.