Skip to content

Commit

Permalink
style: tup-700 peerDependencies
Browse files Browse the repository at this point in the history
"So the consuming application is aware that it must have React installed to use this package."
— https://dev.to/receter/how-to-create-a-react-component-library-using-vites-library-mode-4lma#dependencies
  • Loading branch information
wesleyboar committed Feb 26, 2024
1 parent 9754110 commit 2d5ab1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,9 @@
"vite-plugin-eslint": "^1.8.1",
"vite-tsconfig-paths": "4.2.0",
"vitest": "0.34.6"
},
"peerDependencies": {
"react": "18.2.0",
"react-dom": "18.2.0"
}
}

0 comments on commit 2d5ab1c

Please sign in to comment.