upgrading husky

This commit is contained in:
Christian Kellner
2024-11-19 13:45:07 +01:00
parent e1c45f18e0
commit dab6e4edf3
4 changed files with 268 additions and 439 deletions

1
.husky/pre-commit Executable file
View File

@@ -0,0 +1 @@
npx lint-staged

View File

@@ -1 +1 @@
{"interval":"60","port":9998,"scrapingAnt":{"apiKey":"","proxy":"datacenter"},"workingHours":{"from":"","to":""}}
{"interval":10,"port":9998,"scrapingAnt":{"apiKey":"1223","proxy":"datacenter"},"workingHours":{"from":"17:00","to":"18:00"}}

View File

@@ -11,11 +11,6 @@
"test": "mocha --loader=esmock --timeout 3000000 test/**/*.test.js",
"lint": "eslint ./index.js ./lib/**/*.js ./test/**/*.js ./ui/src/**/*.jsx"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"type": "module",
"lint-staged": {
"*.js": [
@@ -55,7 +50,7 @@
"Firefox ESR"
],
"dependencies": {
"@douyinfe/semi-ui": "2.68.3",
"@douyinfe/semi-ui": "2.69.2",
"@rematch/core": "2.2.0",
"@rematch/loading": "2.1.2",
"@sendgrid/mail": "8.1.4",
@@ -84,7 +79,7 @@
"serve-static": "1.16.2",
"slack": "11.0.2",
"string-similarity": "^4.0.4",
"vite": "5.4.10",
"vite": "5.4.11",
"x-ray": "2.3.4"
},
"devDependencies": {
@@ -98,9 +93,9 @@
"eslint-plugin-react": "7.37.2",
"esmock": "2.6.9",
"history": "5.3.0",
"husky": "4.3.8",
"husky": "9.1.7",
"less": "4.2.0",
"lint-staged": "13.2.2",
"lint-staged": "15.2.10",
"mocha": "10.8.2",
"prettier": "3.3.3",
"redux-logger": "3.0.6"

691
yarn.lock

File diff suppressed because it is too large Load Diff