mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-26 14:21:12 +00:00
Upgrading deps
This commit is contained in:
parent
71730b6807
commit
47fd5e44f9
3 changed files with 6 additions and 5 deletions
1
.husky/.gitignore
vendored
Normal file
1
.husky/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
_
|
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
yarn lint-staged
|
|
@ -11,6 +11,7 @@
|
|||
"scripts": {
|
||||
"build": "tsc",
|
||||
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
|
||||
"postinstall": "husky install",
|
||||
"prepare": "yarn run build"
|
||||
},
|
||||
"repository": "https://github.com/LemmyNet/lemmy-js-client",
|
||||
|
@ -26,11 +27,6 @@
|
|||
"typescript": "^4.3.5"
|
||||
},
|
||||
"types": "./dist/index.d.ts",
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx,js}": [
|
||||
"prettier --write",
|
||||
|
|
Loading…
Reference in a new issue