Skip to content

Commit 6f573fe

Browse files
authored
Merge pull request #54 from nutboltu/fix/add-react-dependencies
fix: add react in both peer and dev dependencies
2 parents e778923 + 460656f commit 6f573fe

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

docs/bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
},
2626
"dependencies": {
2727
"prop-types": "15.7.2",
28-
"react-github-btn": "1.2.0",
2928
"typeco": "1.0.0"
3029
},
3130
"devDependencies": {
@@ -47,6 +46,9 @@
4746
"eslint-plugin-react": "7.16.0",
4847
"html-webpack-plugin": "3.2.0",
4948
"jest": "^24.9.0",
49+
"react": "16.9.0",
50+
"react-dom": "16.9.0",
51+
"react-github-btn": "1.2.0",
5052
"react-syntax-highlighter": "13.5.1",
5153
"style-loader": "1.0.0",
5254
"terser-webpack-plugin": "4.1.0",

yarn.lock

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6828,6 +6828,16 @@ rc@^1.2.7:
68286828
minimist "^1.2.0"
68296829
strip-json-comments "~2.0.1"
68306830

6831+
6832+
version "16.9.0"
6833+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.9.0.tgz#5e65527a5e26f22ae3701131bcccaee9fb0d3962"
6834+
integrity sha512-YFT2rxO9hM70ewk9jq0y6sQk8cL02xm4+IzYBz75CQGlClQQ1Bxq0nhHF6OtSbit+AIahujJgb/CPRibFkMNJQ==
6835+
dependencies:
6836+
loose-envify "^1.1.0"
6837+
object-assign "^4.1.1"
6838+
prop-types "^15.6.2"
6839+
scheduler "^0.15.0"
6840+
68316841
68326842
version "1.2.0"
68336843
resolved "https://registry.yarnpkg.com/react-github-btn/-/react-github-btn-1.2.0.tgz#464066f999a77c0eed27980260601b51cbe15614"
@@ -6861,6 +6871,15 @@ react-test-renderer@^16.0.0-0:
68616871
react-is "^16.8.6"
68626872
scheduler "^0.18.0"
68636873

6874+
6875+
version "16.9.0"
6876+
resolved "https://registry.yarnpkg.com/react/-/react-16.9.0.tgz#40ba2f9af13bc1a38d75dbf2f4359a5185c4f7aa"
6877+
integrity sha512-+7LQnFBwkiw+BobzOF6N//BdoNw0ouwmSJTEm9cglOOmsg/TMiFHZLe2sEoN5M7LgJTj9oHH0gxklfnQe66S1w==
6878+
dependencies:
6879+
loose-envify "^1.1.0"
6880+
object-assign "^4.1.1"
6881+
prop-types "^15.6.2"
6882+
68646883
read-pkg-up@^2.0.0:
68656884
version "2.0.0"
68666885
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be"
@@ -7278,6 +7297,14 @@ sax@^1.2.4:
72787297
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
72797298
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
72807299

7300+
scheduler@^0.15.0:
7301+
version "0.15.0"
7302+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.15.0.tgz#6bfcf80ff850b280fed4aeecc6513bc0b4f17f8e"
7303+
integrity sha512-xAefmSfN6jqAa7Kuq7LIJY0bwAPG3xlCj0HMEBQk1lxYiDKZscY2xJ5U/61ZTrYbmNQbXa+gc7czPkVo11tnCg==
7304+
dependencies:
7305+
loose-envify "^1.1.0"
7306+
object-assign "^4.1.1"
7307+
72817308
scheduler@^0.18.0:
72827309
version "0.18.0"
72837310
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.18.0.tgz#5901ad6659bc1d8f3fdaf36eb7a67b0d6746b1c4"

0 commit comments

Comments
 (0)