Upgrading deps

This commit is contained in:
Dessalines 2021-07-19 09:33:16 -04:00
parent 71730b6807
commit 47fd5e44f9
3 changed files with 6 additions and 5 deletions

1
.husky/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
_

4
.husky/pre-commit Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn lint-staged

View file

@ -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",