Skip to content

Commit

Permalink
chore: move g2 to peerDependencies (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc authored Oct 24, 2023
1 parent 738686b commit fce969f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@berryv/g2-rect",
"version": "0.1.0",
"version": "0.2.0",
"description": "The lightweight React Component for @antv/g2.",
"author": {
"name": "pearmini",
Expand All @@ -27,15 +27,17 @@
"prepublishOnly": "npm run build"
},
"sideEffects": false,
"dependencies": {
"@antv/g2": "^5.0.22",
"peerDependencies": {
"@antv/g2": "^5.1.6",
"react": "^18.2.0"
},
"devDependencies": {
"@antv/g-svg": "^1.10.14",
"@antv/g2": "^5.1.6",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"jsdom": "^22.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2",
"vite": "^4.4.9"
Expand Down

0 comments on commit fce969f

Please sign in to comment.