|
|
|
@ -6,7 +6,6 @@ |
|
|
|
"@testing-library/jest-dom": "^5.11.4", |
|
|
|
"@testing-library/react": "^11.1.0", |
|
|
|
"@testing-library/user-event": "^12.1.10", |
|
|
|
"lint": "tslint -p tsconfig.json -c tslint.json", |
|
|
|
"react": "^17.0.1", |
|
|
|
"react-dom": "^17.0.1", |
|
|
|
"react-scripts": "4.0.3", |
|
|
|
@ -42,26 +41,12 @@ |
|
|
|
"autoprefixer": "10.2.5", |
|
|
|
"husky": "5.1.3", |
|
|
|
"prettier": "2.2.1", |
|
|
|
"lint-staged": "^9.4.1", |
|
|
|
"pretty-quick": "3.1.0", |
|
|
|
"tslint": "5.20.0", |
|
|
|
"tslint-config-prettier": "^1.18.0" |
|
|
|
"pretty-quick": "3.1.0" |
|
|
|
}, |
|
|
|
"husky": { |
|
|
|
"hooks": { |
|
|
|
"pre-commit": "lint-staged" |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
"lint-staged": { |
|
|
|
"*.ts": [ |
|
|
|
"prettier --write", |
|
|
|
"tslint -p tsconfig.json -c tslint.json", |
|
|
|
"git add" |
|
|
|
], |
|
|
|
"*.{js,json,md}": [ |
|
|
|
"prettier --write", |
|
|
|
"git add" |
|
|
|
] |
|
|
|
} |
|
|
|
} |