Skip to content

Commit

Permalink
MAP-1795 updated husky (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
GurnankCheema authored Nov 6, 2024
1 parent ce81a1d commit 37292ff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

NODE_ENV=dev && node_modules/.bin/lint-staged && node_modules/.bin/tsc
12 changes: 6 additions & 6 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": "[email protected]:ministryofjustice/use-of-force.git",
"license": "MIT",
"scripts": {
"postinstall": "husky install",
"prepare": "husky",
"copy-views": "cp -R server/views dist/server/",
"watch-views": "nodemon --watch server/views -e html,njk -x npm run copy-views",
"watch-ts": "tsc -w",
Expand Down Expand Up @@ -164,7 +164,7 @@
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-html-reporter": "^3.10.2",
"jest-junit": "^15.0.0",
Expand Down

0 comments on commit 37292ff

Please sign in to comment.