Skip to content

Commit 1a367ee

Browse files
committed
chore: update deps
1 parent 72f30e7 commit 1a367ee

File tree

6 files changed

+1097
-1053
lines changed

6 files changed

+1097
-1053
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
./node_modules/.bin/lint-staged

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v12.18.2
1+
v14.16.1

package.json

Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -27,66 +27,61 @@
2727
"test:ci": "cross-env CI=1 jest",
2828
"predeploy": "cd example && yarn install && yarn run build",
2929
"deploy": "gh-pages -d example/build",
30-
"postinstall": "ts-node tools/init"
30+
"postinstall": "ts-node tools/init",
31+
"prepare": "husky install"
3132
},
3233
"engines": {
3334
"node": ">=10",
3435
"npm": ">=6"
3536
},
3637
"peerDependencies": {
37-
"react": "^17.0.1",
38-
"react-dom": "17.0.1"
38+
"react": "^17.0.2",
39+
"react-dom": "17.0.2"
3940
},
4041
"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",
5051
"colors": "^1.4.0",
5152
"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",
5455
"eslint-config-standard": "^16.0.2",
5556
"eslint-plugin-import": "^2.22.1",
5657
"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",
6061
"eslint-plugin-react-hooks": "^4.2.0",
6162
"eslint-plugin-standard": "^4.1.0",
6263
"gh-pages": "^3.1.0",
63-
"husky": "^4.3.6",
64+
"husky": "^6.0.0",
6465
"jest": "^26.6.3",
65-
"lint-staged": "^10.5.3",
66+
"lint-staged": "^10.5.4",
6667
"prettier": "^2.2.1",
6768
"prompt": "^1.1.0",
68-
"react": "^17.0.1",
69+
"react": "^17.0.2",
6970
"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",
7273
"rollup-plugin-commonjs": "^10.1.0",
7374
"rollup-plugin-json": "^4.0.0",
7475
"rollup-plugin-node-resolve": "^5.2.0",
7576
"rollup-plugin-peer-deps-external": "^2.2.4",
7677
"rollup-plugin-sourcemaps": "^0.6.3",
7778
"rollup-plugin-terser": "^7.0.2",
78-
"rollup-plugin-typescript2": "^0.29.0",
79+
"rollup-plugin-typescript2": "^0.30.0",
7980
"shelljs": "^0.8.4",
80-
"ts-jest": "^26.4.4",
81+
"ts-jest": "^26.5.5",
8182
"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"
9085
},
9186
"lint-staged": {
9287
"src/**/*.{ts,tsx}": [

0 commit comments

Comments
 (0)