File tree Expand file tree Collapse file tree 2 files changed +72
-5
lines changed Expand file tree Collapse file tree 2 files changed +72
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " use-media-query-hook" ,
3- "version" : " 0.1.1 " ,
3+ "version" : " 0.2.0 " ,
44 "description" : " React custom hook to check when a media query result changes" ,
5- "main" : " index.js" ,
6- "cjs" : " lib/index.js" ,
5+ "main" : " lib/index.js" ,
76 "umd" : " dist/index.js" ,
87 "module" : " es/index.js" ,
98 "files" : [
1312 " index.js"
1413 ],
1514 "scripts" : {
16- "prebuild" : " rm -rf dist es lib" ,
17- "build" : " rollup --config "
15+ "prebuild" : " rimraf dist es lib" ,
16+ "build" : " rollup -c "
1817 },
1918 "repository" : {
2019 "type" : " git" ,
4140 "react" : " ^16.8.0"
4241 },
4342 "devDependencies" : {
43+ "rimraf" : " ^2.6.3" ,
4444 "rollup" : " ^1.2.1"
4545 }
4646}
Original file line number Diff line number Diff line change @@ -14,10 +14,77 @@ acorn@^6.1.0:
1414 version "6.1.0"
1515 resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.1.0.tgz#b0a3be31752c97a0f7013c5f4903b71a05db6818"
1616
17+ balanced-match@^1.0.0 :
18+ version "1.0.0"
19+ resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
20+
21+ brace-expansion@^1.1.7 :
22+ version "1.1.11"
23+ resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
24+ dependencies :
25+ balanced-match "^1.0.0"
26+ concat-map "0.0.1"
27+
28+ concat-map@0.0.1 :
29+ version "0.0.1"
30+ resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
31+
32+ fs.realpath@^1.0.0 :
33+ version "1.0.0"
34+ resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
35+
36+ glob@^7.1.3 :
37+ version "7.1.3"
38+ resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
39+ dependencies :
40+ fs.realpath "^1.0.0"
41+ inflight "^1.0.4"
42+ inherits "2"
43+ minimatch "^3.0.4"
44+ once "^1.3.0"
45+ path-is-absolute "^1.0.0"
46+
47+ inflight@^1.0.4 :
48+ version "1.0.6"
49+ resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
50+ dependencies :
51+ once "^1.3.0"
52+ wrappy "1"
53+
54+ inherits@2 :
55+ version "2.0.3"
56+ resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
57+
58+ minimatch@^3.0.4 :
59+ version "3.0.4"
60+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
61+ dependencies :
62+ brace-expansion "^1.1.7"
63+
64+ once@^1.3.0 :
65+ version "1.4.0"
66+ resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
67+ dependencies :
68+ wrappy "1"
69+
70+ path-is-absolute@^1.0.0 :
71+ version "1.0.1"
72+ resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
73+
74+ rimraf@^2.6.3 :
75+ version "2.6.3"
76+ resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
77+ dependencies :
78+ glob "^7.1.3"
79+
1780rollup@^1.2.1 :
1881 version "1.2.1"
1982 resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.2.1.tgz#996a8c63920ab056b39507d93195222e59d2807f"
2083 dependencies :
2184 " @types/estree" " 0.0.39"
2285 " @types/node" " *"
2386 acorn "^6.1.0"
87+
88+ wrappy@1 :
89+ version "1.0.2"
90+ resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
You can’t perform that action at this time.
0 commit comments