Skip to content

Commit b25b07c

Browse files
committed
set compatibility with react from v16.8
- bump package version to 0.1.1
1 parent 55f3a43 commit b25b07c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"name": "use-media-query-hook",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "React custom hook to check when a media query result changes",
5-
"main": "lib/index.js",
5+
"main": "index.js",
6+
"cjs": "lib/index.js",
67
"umd": "dist/index.js",
78
"module": "es/index.js",
89
"files": [
@@ -37,7 +38,7 @@
3738
},
3839
"homepage": "https://github.com/carloluis/use-media-query-hook#readme",
3940
"peerDependencies": {
40-
"react": "^16.8.2"
41+
"react": "^16.8.0"
4142
},
4243
"devDependencies": {
4344
"rollup": "^1.2.1"

0 commit comments

Comments
 (0)