fix husky

This commit is contained in:
Sasha 2023-02-21 17:00:24 +01:00
parent 4b219df40c
commit 1914bfe270
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run fix
npm run lint:fix
npm run prettier:fix

View File

@ -52,7 +52,8 @@
"test": "jest --config ./jest.config.js",
"test:coverage": "npm run test -- --coverage",
"bundlewatch": "npm run build && bundlewatch",
"prepublish": "npm run fix && npm run type && npm run test && npm run build"
"prepublish": "npm run fix && npm run type && npm run build",
"prepare": "husky install"
},
"engines": {
"node": ">=18"
@ -78,7 +79,7 @@
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"husky": "^8.0.0",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"jest-watch-typeahead": "^2.2.2",