Update husky
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
_
|
||||||
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npm run lint
|
||||||
Generated
+16478
-273
File diff suppressed because it is too large
Load Diff
+3
-7
@@ -35,12 +35,8 @@
|
|||||||
"test:e2e:verbose": "npm-run-all -p -r serve testcafe:verbose",
|
"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": "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",
|
"testcafe:verbose": "testcafe --skip-js-errors -S -s 'e2e-screenshots' --app-init-delay 2000 chrome tests/testcafe",
|
||||||
"build-analyze": "ANALYZE=true npm run build"
|
"build-analyze": "ANALYZE=true npm run build",
|
||||||
},
|
"prepare": "husky install"
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"pre-push": "npm run lint"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/js-cookie": "2.2.4",
|
"@types/js-cookie": "2.2.4",
|
||||||
@@ -60,7 +56,7 @@
|
|||||||
"eslint-plugin-jsx-a11y": "6.4.1",
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
||||||
"eslint-plugin-react": "7.22.0",
|
"eslint-plugin-react": "7.22.0",
|
||||||
"eslint-plugin-react-hooks": "4.2.0",
|
"eslint-plugin-react-hooks": "4.2.0",
|
||||||
"husky": "1.3.1",
|
"husky": "5.1.3",
|
||||||
"npm-run-all": "4.1.5",
|
"npm-run-all": "4.1.5",
|
||||||
"stylelint": "13.8.0",
|
"stylelint": "13.8.0",
|
||||||
"stylelint-config-recommended": "3.0.0",
|
"stylelint-config-recommended": "3.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user