Skip to content

Commit

Permalink
fix: move react, react-dom to devDependencies (#2160)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangeeth Sudheer committed Mar 23, 2022
1 parent fc91bf1 commit 6917c15
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
22 changes: 11 additions & 11 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@
}
},
"react-big-calendar.js": {
"bundled": 1583440,
"minified": 445148,
"gzipped": 137477
"bundled": 1583435,
"minified": 445376,
"gzipped": 137501
},
"react-big-calendar.min.js": {
"bundled": 283203,
"minified": 281754,
"gzipped": 88847
"bundled": 283187,
"minified": 281738,
"gzipped": 88836
},
"react-big-calendar.esm.js": {
"bundled": 199942,
"minified": 93434,
"gzipped": 24203,
"bundled": 199459,
"minified": 93011,
"gzipped": 24119,
"treeshaked": {
"rollup": {
"code": 66290,
"code": 66234,
"import_statements": 1804
},
"webpack": {
"code": 70070
"code": 70014
}
}
}
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
"test": "yarn lint && NODE_ENV=test jest",
"tdd": "NODE_ENV=test jest --watch"
},
"peerDependencies": {
"moment": "^2.29.1",
"react": "^16.14.0 || ^17",
"react-dom": "^16.14.0 || ^17"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.5",
Expand Down Expand Up @@ -92,8 +97,10 @@
"postcss": "^8.4.8",
"postcss-cli": "^9.1.0",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-bootstrap": "^0.32.4",
"react-docgen": "^5.4.0",
"react-dom": "^17.0.2",
"react-tackle-box": "^2.1.0",
"regenerator-runtime": "^0.13.9",
"rollup": "^2.70.0",
Expand All @@ -118,8 +125,6 @@
"lodash-es": "^4.17.21",
"memoize-one": "^6.0.0",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-overlays": "^4.1.1",
"uncontrollable": "^7.2.1"
},
Expand Down

0 comments on commit 6917c15

Please sign in to comment.