Skip to content

Commit

Permalink
altered prep script to work with newer version of husky
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeGordon83 committed Nov 20, 2024
1 parent 3dfa626 commit 2e6686d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
"test": "npm run lint && npm run unit-test",
"create-release-notes": "node release-docs/lib/create-release-notes.js",
"postinstall": "npm run build",
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') { throw e } }\""
"prepare": "node -e \"try { import ('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') { throw e } }\""
},
"author": "defra",
"license": "ISC",
"dependencies": {
"@airbrake/node": "^2.1.8",
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.23.4",
"@babel/preset-env": "^7.26.0",
"@babel/traverse": "^7.23.2",
"@defra/flood-webchat": "^1.0.3",
Expand Down

0 comments on commit 2e6686d

Please sign in to comment.