Skip to content

Commit

Permalink
feat: support React 17
Browse files Browse the repository at this point in the history
  • Loading branch information
tdreyno committed Apr 7, 2021
1 parent 2db57df commit 6003e5b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn run lint-staged
11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"version": "yarn run build",
"coverage": "jest --runInBand --coverage --coverageDirectory '../coverage'",
"commit": "git-cz",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"prepare": "husky install"
},
"engines": {
"node": ">=10"
Expand Down Expand Up @@ -47,12 +48,6 @@
"prettier --write"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"volta": {
"node": "14.11.0",
"yarn": "1.22.4"
Expand Down Expand Up @@ -90,7 +85,7 @@
},
"dependencies": {},
"peerDependencies": {
"react": "^16.11.0"
"react": ">=16.0.0"
},
"config": {
"commitizen": {
Expand Down

0 comments on commit 6003e5b

Please sign in to comment.