chore: add husky as dev dependency
This commit is contained in:
parent
846e914fd0
commit
e2963d0ef5
5
.huskyrc.json
Normal file
5
.huskyrc.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"hooks": {
|
||||||
|
"pre-commit": "eslint"
|
||||||
|
}
|
||||||
|
}
|
3
.lintstagedrc.json
Normal file
3
.lintstagedrc.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"*.ts": ["eslint 'src/**' --fix"]
|
||||||
|
}
|
934
package-lock.json
generated
934
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -45,7 +45,9 @@
|
|||||||
"eslint-config-prettier": "^6.11.0",
|
"eslint-config-prettier": "^6.11.0",
|
||||||
"eslint-plugin-prettier": "^3.1.4",
|
"eslint-plugin-prettier": "^3.1.4",
|
||||||
"git-commit-msg-linter": "^2.7.0",
|
"git-commit-msg-linter": "^2.7.0",
|
||||||
|
"husky": "^4.3.0",
|
||||||
"jest": "24.9.0",
|
"jest": "24.9.0",
|
||||||
|
"lint-staged": "^10.4.0",
|
||||||
"prettier": "^2.1.1",
|
"prettier": "^2.1.1",
|
||||||
"ts-jest": "^26.3.0",
|
"ts-jest": "^26.3.0",
|
||||||
"typescript": "^4.0.2"
|
"typescript": "^4.0.2"
|
||||||
|
Loading…
Reference in New Issue
Block a user