|
27 | 27 | "test:ci": "cross-env CI=1 jest",
|
28 | 28 | "predeploy": "cd example && yarn install && yarn run build",
|
29 | 29 | "deploy": "gh-pages -d example/build",
|
30 |
| - "postinstall": "ts-node tools/init" |
| 30 | + "postinstall": "ts-node tools/init", |
| 31 | + "prepare": "husky install" |
31 | 32 | },
|
32 | 33 | "engines": {
|
33 | 34 | "node": ">=10",
|
34 | 35 | "npm": ">=6"
|
35 | 36 | },
|
36 | 37 | "peerDependencies": {
|
37 |
| - "react": "^17.0.1", |
38 |
| - "react-dom": "17.0.1" |
| 38 | + "react": "^17.0.2", |
| 39 | + "react-dom": "17.0.2" |
39 | 40 | },
|
40 | 41 | "devDependencies": {
|
41 |
| - "@commitlint/cli": "^11.0.0", |
42 |
| - "@testing-library/jest-dom": "^5.11.8", |
43 |
| - "@testing-library/react": "^11.2.2", |
44 |
| - "@types/jest": "^26.0.19", |
45 |
| - "@types/node": "^14.14.19", |
46 |
| - "@types/react": "^17.0.0", |
47 |
| - "@types/react-dom": "^17.0.0", |
48 |
| - "@typescript-eslint/eslint-plugin": "^4.11.1", |
49 |
| - "@typescript-eslint/parser": "^4.11.1", |
| 42 | + "@commitlint/cli": "^12.1.1", |
| 43 | + "@testing-library/jest-dom": "^5.12.0", |
| 44 | + "@testing-library/react": "^11.2.6", |
| 45 | + "@types/jest": "^26.0.23", |
| 46 | + "@types/node": "^15.0.1", |
| 47 | + "@types/react": "^17.0.4", |
| 48 | + "@types/react-dom": "^17.0.3", |
| 49 | + "@typescript-eslint/eslint-plugin": "^4.22.0", |
| 50 | + "@typescript-eslint/parser": "^4.22.0", |
50 | 51 | "colors": "^1.4.0",
|
51 | 52 | "cross-env": "^7.0.3",
|
52 |
| - "eslint": "^7.17.0", |
53 |
| - "eslint-config-prettier": "^7.1.0", |
| 53 | + "eslint": "^7.25.0", |
| 54 | + "eslint-config-prettier": "^8.3.0", |
54 | 55 | "eslint-config-standard": "^16.0.2",
|
55 | 56 | "eslint-plugin-import": "^2.22.1",
|
56 | 57 | "eslint-plugin-node": "^11.1.0",
|
57 |
| - "eslint-plugin-prettier": "^3.3.0", |
58 |
| - "eslint-plugin-promise": "^4.2.1", |
59 |
| - "eslint-plugin-react": "^7.22.0", |
| 58 | + "eslint-plugin-prettier": "^3.4.0", |
| 59 | + "eslint-plugin-promise": "^5.1.0", |
| 60 | + "eslint-plugin-react": "^7.23.2", |
60 | 61 | "eslint-plugin-react-hooks": "^4.2.0",
|
61 | 62 | "eslint-plugin-standard": "^4.1.0",
|
62 | 63 | "gh-pages": "^3.1.0",
|
63 |
| - "husky": "^4.3.6", |
| 64 | + "husky": "^6.0.0", |
64 | 65 | "jest": "^26.6.3",
|
65 |
| - "lint-staged": "^10.5.3", |
| 66 | + "lint-staged": "^10.5.4", |
66 | 67 | "prettier": "^2.2.1",
|
67 | 68 | "prompt": "^1.1.0",
|
68 |
| - "react": "^17.0.1", |
| 69 | + "react": "^17.0.2", |
69 | 70 | "react-dom": "^17.0.1",
|
70 |
| - "replace-in-file": "^6.1.0", |
71 |
| - "rollup": "^2.35.1", |
| 71 | + "replace-in-file": "^6.2.0", |
| 72 | + "rollup": "^2.46.0", |
72 | 73 | "rollup-plugin-commonjs": "^10.1.0",
|
73 | 74 | "rollup-plugin-json": "^4.0.0",
|
74 | 75 | "rollup-plugin-node-resolve": "^5.2.0",
|
75 | 76 | "rollup-plugin-peer-deps-external": "^2.2.4",
|
76 | 77 | "rollup-plugin-sourcemaps": "^0.6.3",
|
77 | 78 | "rollup-plugin-terser": "^7.0.2",
|
78 |
| - "rollup-plugin-typescript2": "^0.29.0", |
| 79 | + "rollup-plugin-typescript2": "^0.30.0", |
79 | 80 | "shelljs": "^0.8.4",
|
80 |
| - "ts-jest": "^26.4.4", |
| 81 | + "ts-jest": "^26.5.5", |
81 | 82 | "ts-node": "^9.1.1",
|
82 |
| - "typedoc": "^0.20.10", |
83 |
| - "typescript": "^4.1.3" |
84 |
| - }, |
85 |
| - "husky": { |
86 |
| - "hooks": { |
87 |
| - "pre-commit": "lint-staged", |
88 |
| - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
89 |
| - } |
| 83 | + "typedoc": "^0.20.36", |
| 84 | + "typescript": "^4.2.4" |
90 | 85 | },
|
91 | 86 | "lint-staged": {
|
92 | 87 | "src/**/*.{ts,tsx}": [
|
|
0 commit comments