lint-test
Showing
This diff is collapsed.
Click to expand it.
... | @@ -53,6 +53,7 @@ | ... | @@ -53,6 +53,7 @@ |
"html-webpack-plugin": "4.0.0-beta.11", | "html-webpack-plugin": "4.0.0-beta.11", | ||
"html2canvas": "^1.0.0-rc.5", | "html2canvas": "^1.0.0-rc.5", | ||
"http-proxy-middleware": "^0.19.2", | "http-proxy-middleware": "^0.19.2", | ||
"husky": "^4.2.5", | |||
"identity-obj-proxy": "3.0.0", | "identity-obj-proxy": "3.0.0", | ||
"jest": "24.9.0", | "jest": "24.9.0", | ||
"jest-environment-jsdom-fourteen": "1.0.1", | "jest-environment-jsdom-fourteen": "1.0.1", | ||
... | @@ -64,6 +65,7 @@ | ... | @@ -64,6 +65,7 @@ |
"json-stringify-safe": "^5.0.1", | "json-stringify-safe": "^5.0.1", | ||
"less": "^3.12.2", | "less": "^3.12.2", | ||
"less-loader": "^4.1.0", | "less-loader": "^4.1.0", | ||
"lint-staged": "^10.2.11", | |||
"lodash": "^4.17.19", | "lodash": "^4.17.19", | ||
"mini-css-extract-plugin": "0.9.0", | "mini-css-extract-plugin": "0.9.0", | ||
"node-sass": "^4.14.1", | "node-sass": "^4.14.1", | ||
... | @@ -121,6 +123,14 @@ | ... | @@ -121,6 +123,14 @@ |
"storybook": "start-storybook -p 6006", | "storybook": "start-storybook -p 6006", | ||
"build-storybook": "build-storybook" | "build-storybook": "build-storybook" | ||
}, | }, | ||
"husky": { | |||
"hooks": { | |||
"pre-commit": "lint-staged" | |||
} | |||
}, | |||
"lint-staged": { | |||
"*.js": "prettier --write" | |||
}, | |||
"eslintConfig": { | "eslintConfig": { | ||
"extends": "react-app", | "extends": "react-app", | ||
"globals": { | "globals": { | ||
... | ... |
Please
register
or
sign in
to comment