|
23 | 23 | "package:build": "yarn build && yarn package:prune && yarn package:copy:files",
|
24 | 24 | "package:copy:files": "cp ./LICENSE ./README.md dist/ && cp ./public.package.json dist/package.json",
|
25 | 25 | "package:prune": "find dist -name test.* -delete",
|
| 26 | + "prepare": "husky install", |
26 | 27 | "test": "yarn jest src/*",
|
27 | 28 | "test:ci": "yarn test --coverage",
|
28 | 29 | "typecheck": "yarn tsc --noEmit",
|
29 | 30 | "typecheck:watch": "yarn typecheck --watch"
|
30 | 31 | },
|
31 | 32 | "devDependencies": {
|
32 |
| - "@babel/preset-env": "^7.17.10", |
33 |
| - "@babel/preset-react": "^7.13.13", |
34 |
| - "@babel/preset-typescript": "^7.13.0", |
35 |
| - "@types/eslint": "^8.4.1", |
| 33 | + "@babel/preset-env": "^7.18.2", |
| 34 | + "@babel/preset-react": "^7.17.12", |
| 35 | + "@babel/preset-typescript": "^7.17.12", |
| 36 | + "@types/eslint": "^8.4.3", |
36 | 37 | "@types/estree": "^0.0.51",
|
37 |
| - "@types/jest": "^27.4.1", |
38 |
| - "@types/node": "^17.0.30", |
39 |
| - "@typescript-eslint/eslint-plugin": "^5.21.0", |
40 |
| - "@typescript-eslint/parser": "^5.21.0", |
| 38 | + "@types/jest": "^28.1.3", |
| 39 | + "@types/node": "^18.0.0", |
| 40 | + "@typescript-eslint/eslint-plugin": "^5.29.0", |
| 41 | + "@typescript-eslint/parser": "^5.29.0", |
41 | 42 | "codecov": "^3.8.3",
|
42 |
| - "eslint": "^8.14.0", |
| 43 | + "eslint": "^8.18.0", |
43 | 44 | "eslint-config-prettier": "^8.5.0",
|
44 |
| - "eslint-plugin-react": "^7.29.4", |
45 |
| - "eslint-plugin-react-hooks": "^4.5.0", |
46 |
| - "husky": "^4.3.0", |
47 |
| - "jest": "^28.0.3", |
48 |
| - "prettier": "^2.6.2", |
49 |
| - "prettier-package-json": "^2.6.3", |
50 |
| - "typescript": "^4.6.4" |
51 |
| - }, |
52 |
| - "husky": { |
53 |
| - "hooks": { |
54 |
| - "pre-commit": "yarn lint" |
55 |
| - } |
| 45 | + "eslint-plugin-react": "^7.30.0", |
| 46 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 47 | + "husky": "^8.0.1", |
| 48 | + "jest": "^28.1.1", |
| 49 | + "prettier": "^2.7.1", |
| 50 | + "prettier-package-json": "^2.6.4", |
| 51 | + "typescript": "^4.7.4" |
56 | 52 | }
|
57 | 53 | }
|
0 commit comments