Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fix: add peer deps to remove react from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
lwhiteley committed May 26, 2021
1 parent c0a77a8 commit 1eaf921
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
"classnames": "^2.3.1",
"lodash": "^4.17.21"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"devDependencies": {
"@babel/cli": "7.14.3",
"@babel/core": "^7.14.3",
Expand All @@ -57,13 +61,13 @@
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.7",
"@types/jest": "^26.0.23",
"@types/node": "^15.6.0",
"@types/node": "^15.6.1",
"@types/testing-library__jest-dom": "^5.9.5",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"babel-loader": "^8.2.2",
"core-js": "^3.6.5",
"eslint": "^7.26.0",
"core-js": "^3.13.0",
"eslint": "^7.27.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.3",
Expand All @@ -73,19 +77,19 @@
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"fork-ts-checker-webpack-plugin": "^6.2.10",
"gh-pages": "^3.1.0",
"gh-pages": "^3.2.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"jest": "^27.0.1",
"prettier": "^2.3.0",
"react": "^17.0.2",
"react-custom-scroll": "^4.3.0",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"rollup": "^2.48.0",
"rollup": "^2.50.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^26.5.6",
"ts-loader": "^9.2.1",
"ts-jest": "^27.0.0",
"ts-loader": "^9.2.2",
"typescript": "^4.2.4"
},
"scripts": {
Expand Down

0 comments on commit 1eaf921

Please sign in to comment.