Unverified Commit aa626c7b authored by Guilherme Gazzo's avatar Guilherme Gazzo Committed by GitHub
Browse files

chore: configure react as peerDependencies (#140)

parent f86d5d55
......@@ -58,7 +58,8 @@
},
"peerDependencies": {
"invariant": "^2.2.4",
"react": "^16.12.0"
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"publishConfig": {
"access": "public"
......
......@@ -38,7 +38,9 @@
"@rocket.chat/ui-kit": "^0.2.0-alpha.23"
},
"peerDependencies": {
"@rocket.chat/fuselage": "^0.2.0-alpha.16"
"@rocket.chat/fuselage": "^0.2.0-alpha.23",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"@babel/core": "^7.7.4",
......@@ -62,7 +64,6 @@
"compression-webpack-plugin": "^3.0.0",
"loki": "^0.18.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"ts-loader": "^6.2.1",
"typescript": "^3.7.2",
"webpack-plugin-replace": "^1.2.0"
......
......@@ -82,6 +82,7 @@ module.exports = (env, argv) => ({
root: 'React',
},
},
'react-dom',
'@rocket.chat/icons',
'@rocket.chat/fuselage',
'@rocket.chat/ui-kit',
......
......@@ -39,7 +39,8 @@
},
"peerDependencies": {
"@rocket.chat/fuselage-hooks": "^0.2.0-alpha.16",
"react": "^16.12.0"
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"@babel/core": "^7.4.5",
......
......@@ -70,6 +70,7 @@ module.exports = (env, { mode = 'production' }) => ({
root: 'React',
},
},
'react-dom',
'@rocket.chat/icons',
'@rocket.chat/fuselage-hooks',
],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment