Skip to content

Commit

Permalink
husky
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePlenkov committed Oct 8, 2024
1 parent 9ab4a1f commit 093d3e5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run precommit
18 changes: 17 additions & 1 deletion package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"private": true,
"main": "index.js",
"scripts": {
"test": "nx run-many --target=test --exclude=${npm_package_name} --coverage"
"test": "nx run-many --target=test --exclude=${npm_package_name} --coverage",
"prepare": "husky",
"precommit": "nx format:check"
},
"author": "",
"license": "ISC",
Expand All @@ -25,6 +27,7 @@
"@vitest/ui": "^2.1.2",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^9.1.6",
"nx": "20.0.0",
"prettier": "^2.6.2",
"rollup": "^4.14.0",
Expand Down

0 comments on commit 093d3e5

Please sign in to comment.