Update husky

This commit is contained in:
Aarni Halinen
2021-03-04 20:17:11 +02:00
parent e8a7563994
commit 5cbb4d280f
4 changed files with 16486 additions and 280 deletions
+1
View File
@@ -0,0 +1 @@
_
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run lint
+16477 -272
View File
File diff suppressed because it is too large Load Diff
+3 -7
View File
@@ -35,12 +35,8 @@
"test:e2e:verbose": "npm-run-all -p -r serve testcafe:verbose",
"testcafe": "testcafe --skip-js-errors -S -s 'e2e-screenshots' --app-init-delay 2000 chrome:headless tests/testcafe",
"testcafe:verbose": "testcafe --skip-js-errors -S -s 'e2e-screenshots' --app-init-delay 2000 chrome tests/testcafe",
"build-analyze": "ANALYZE=true npm run build"
},
"husky": {
"hooks": {
"pre-push": "npm run lint"
}
"build-analyze": "ANALYZE=true npm run build",
"prepare": "husky install"
},
"devDependencies": {
"@types/js-cookie": "2.2.4",
@@ -60,7 +56,7 @@
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0",
"husky": "1.3.1",
"husky": "5.1.3",
"npm-run-all": "4.1.5",
"stylelint": "13.8.0",
"stylelint-config-recommended": "3.0.0",