fix husky
This commit is contained in:
parent
4b219df40c
commit
1914bfe270
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
. "$(dirname -- "$0")/_/husky.sh"
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
npm run fix
|
npm run lint:fix
|
||||||
|
npm run prettier:fix
|
||||||
|
|
|
@ -52,7 +52,8 @@
|
||||||
"test": "jest --config ./jest.config.js",
|
"test": "jest --config ./jest.config.js",
|
||||||
"test:coverage": "npm run test -- --coverage",
|
"test:coverage": "npm run test -- --coverage",
|
||||||
"bundlewatch": "npm run build && bundlewatch",
|
"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": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
|
@ -78,7 +79,7 @@
|
||||||
"eslint-plugin-react": "^7.32.2",
|
"eslint-plugin-react": "^7.32.2",
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.0",
|
||||||
"jest": "^29.4.3",
|
"jest": "^29.4.3",
|
||||||
"jest-environment-jsdom": "^29.4.3",
|
"jest-environment-jsdom": "^29.4.3",
|
||||||
"jest-watch-typeahead": "^2.2.2",
|
"jest-watch-typeahead": "^2.2.2",
|
||||||
|
|
Loading…
Reference in New Issue