Skip to content

Commit

Permalink
Merge pull request #81 from react-hook-form/update-deps
Browse files Browse the repository at this point in the history
chore: update deps
  • Loading branch information
bluebill1049 authored May 9, 2021
2 parents c8066b6 + 45c3f7b commit 27ea14d
Show file tree
Hide file tree
Showing 5 changed files with 422 additions and 449 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ module.exports = {
extends: [
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended',
],
parser: '@typescript-eslint/parser',
Expand Down
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint:types
yarn lint-staged
30 changes: 13 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"lint:fix": "npm run lint -- --fix",
"lint:types": "tsc --noEmit",
"test": "jest --runInBand",
"test:watch": "npm run test -- --watchAll --coverage"
"test:watch": "npm run test -- --watchAll --coverage",
"prepare": "husky install"
},
"keywords": [
"react",
Expand All @@ -64,38 +65,33 @@
"homepage": "https://react-hook-form.com",
"devDependencies": {
"@testing-library/react": "^11.2.6",
"@types/jest": "^26.0.22",
"@types/react": "^17.0.3",
"@types/jest": "^26.0.23",
"@types/react": "^17.0.5",
"@types/react-dom": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"lint-staged": "^11.0.0",
"microbundle": "^0.13.0",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hook-form": "^7.0.5",
"react-hook-form": "^7.4.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.4",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"react-hook-form": "^7.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:types && lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"npm run lint:fix"
Expand Down
Loading

0 comments on commit 27ea14d

Please sign in to comment.