|
39 | 39 | "lint:fix": "npm run lint -- --fix", |
40 | 40 | "lint:types": "tsc --noEmit", |
41 | 41 | "test": "jest --runInBand", |
42 | | - "test:watch": "npm run test -- --watchAll --coverage" |
| 42 | + "test:watch": "npm run test -- --watchAll --coverage", |
| 43 | + "prepare": "husky install" |
43 | 44 | }, |
44 | 45 | "keywords": [ |
45 | 46 | "react", |
|
64 | 65 | "homepage": "https://react-hook-form.com", |
65 | 66 | "devDependencies": { |
66 | 67 | "@testing-library/react": "^11.2.6", |
67 | | - "@types/jest": "^26.0.22", |
68 | | - "@types/react": "^17.0.3", |
| 68 | + "@types/jest": "^26.0.23", |
| 69 | + "@types/react": "^17.0.5", |
69 | 70 | "@types/react-dom": "^17.0.3", |
70 | | - "@typescript-eslint/eslint-plugin": "^4.21.0", |
71 | | - "@typescript-eslint/parser": "^4.21.0", |
72 | | - "eslint": "^7.23.0", |
73 | | - "eslint-config-prettier": "^8.1.0", |
74 | | - "eslint-plugin-prettier": "^3.3.1", |
| 71 | + "@typescript-eslint/eslint-plugin": "^4.22.1", |
| 72 | + "@typescript-eslint/parser": "^4.22.1", |
| 73 | + "eslint": "^7.26.0", |
| 74 | + "eslint-config-prettier": "^8.3.0", |
| 75 | + "eslint-plugin-prettier": "^3.4.0", |
75 | 76 | "eslint-plugin-react": "^7.23.2", |
76 | 77 | "eslint-plugin-react-hooks": "^4.2.0", |
77 | | - "husky": "^4.3.0", |
| 78 | + "husky": "^6.0.0", |
78 | 79 | "jest": "^26.6.3", |
79 | | - "lint-staged": "^10.5.4", |
| 80 | + "lint-staged": "^11.0.0", |
80 | 81 | "microbundle": "^0.13.0", |
81 | 82 | "prettier": "^2.2.1", |
82 | 83 | "react": "^17.0.2", |
83 | 84 | "react-dom": "^17.0.2", |
84 | | - "react-hook-form": "^7.0.5", |
| 85 | + "react-hook-form": "^7.4.2", |
85 | 86 | "rimraf": "^3.0.2", |
86 | | - "ts-jest": "^26.5.4", |
| 87 | + "ts-jest": "^26.5.6", |
87 | 88 | "typescript": "^4.2.4" |
88 | 89 | }, |
89 | 90 | "peerDependencies": { |
90 | 91 | "react": ">=16.8.0", |
91 | 92 | "react-dom": ">=16.8.0", |
92 | 93 | "react-hook-form": "^7.0.0" |
93 | 94 | }, |
94 | | - "husky": { |
95 | | - "hooks": { |
96 | | - "pre-commit": "npm run lint:types && lint-staged" |
97 | | - } |
98 | | - }, |
99 | 95 | "lint-staged": { |
100 | 96 | "*.{js,ts,tsx}": [ |
101 | 97 | "npm run lint:fix" |
|
0 commit comments