Skip to content

Commit 6917c15

Browse files
author
Sangeeth Sudheer
authored
fix: move react, react-dom to devDependencies (#2160)
1 parent fc91bf1 commit 6917c15

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

.size-snapshot.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,26 @@
2424
}
2525
},
2626
"react-big-calendar.js": {
27-
"bundled": 1583440,
28-
"minified": 445148,
29-
"gzipped": 137477
27+
"bundled": 1583435,
28+
"minified": 445376,
29+
"gzipped": 137501
3030
},
3131
"react-big-calendar.min.js": {
32-
"bundled": 283203,
33-
"minified": 281754,
34-
"gzipped": 88847
32+
"bundled": 283187,
33+
"minified": 281738,
34+
"gzipped": 88836
3535
},
3636
"react-big-calendar.esm.js": {
37-
"bundled": 199942,
38-
"minified": 93434,
39-
"gzipped": 24203,
37+
"bundled": 199459,
38+
"minified": 93011,
39+
"gzipped": 24119,
4040
"treeshaked": {
4141
"rollup": {
42-
"code": 66290,
42+
"code": 66234,
4343
"import_statements": 1804
4444
},
4545
"webpack": {
46-
"code": 70070
46+
"code": 70014
4747
}
4848
}
4949
}

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"test": "yarn lint && NODE_ENV=test jest",
4141
"tdd": "NODE_ENV=test jest --watch"
4242
},
43+
"peerDependencies": {
44+
"moment": "^2.29.1",
45+
"react": "^16.14.0 || ^17",
46+
"react-dom": "^16.14.0 || ^17"
47+
},
4348
"devDependencies": {
4449
"@babel/cli": "^7.17.6",
4550
"@babel/core": "^7.17.5",
@@ -92,8 +97,10 @@
9297
"postcss": "^8.4.8",
9398
"postcss-cli": "^9.1.0",
9499
"prettier": "^2.5.1",
100+
"react": "^17.0.2",
95101
"react-bootstrap": "^0.32.4",
96102
"react-docgen": "^5.4.0",
103+
"react-dom": "^17.0.2",
97104
"react-tackle-box": "^2.1.0",
98105
"regenerator-runtime": "^0.13.9",
99106
"rollup": "^2.70.0",
@@ -118,8 +125,6 @@
118125
"lodash-es": "^4.17.21",
119126
"memoize-one": "^6.0.0",
120127
"prop-types": "^15.8.1",
121-
"react": "^17.0.2",
122-
"react-dom": "^17.0.2",
123128
"react-overlays": "^4.1.1",
124129
"uncontrollable": "^7.2.1"
125130
},

0 commit comments

Comments
 (0)