修改详情
正在显示
| ... | @@ -4,6 +4,9 @@ | ... | @@ -4,6 +4,9 @@ |
| "homepage": "/yingyang", | "homepage": "/yingyang", | ||
| "private": true, | "private": true, | ||
| "dependencies": { | "dependencies": { | ||
| "husky": "^3.0.5", | |||
| "lint-staged": "^9.2.5", | |||
| "prettier": "^1.18.2", | |||
| "react": "^16.9.0", | "react": "^16.9.0", | ||
| "react-app-polyfill": "^1.0.2", | "react-app-polyfill": "^1.0.2", | ||
| "react-dom": "^16.9.0", | "react-dom": "^16.9.0", | ||
| ... | @@ -17,6 +20,17 @@ | ... | @@ -17,6 +20,17 @@ |
| "test": "react-scripts test", | "test": "react-scripts test", | ||
| "eject": "react-scripts eject" | "eject": "react-scripts eject" | ||
| }, | }, | ||
| "husky": { | |||
| "hooks": { | |||
| "pre-commit": "lint-staged" | |||
| } | |||
| }, | |||
| "lint-staged": { | |||
| "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [ | |||
| "prettier --write", | |||
| "git add" | |||
| ] | |||
| }, | |||
| "eslintConfig": { | "eslintConfig": { | ||
| "extends": "react-app" | "extends": "react-app" | ||
| }, | }, | ||
| ... | ... |
src/pages/tomato/LackMuInfo.js
0 → 100644
差异被折叠。
请
注册
或者
登录
后发表评论