Skip to content

Commit

Permalink
chore: add g-lite to peerdeps of g-gesture
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoiver committed May 19, 2023
1 parent 9fe3dc4 commit e398ed1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions packages/g-gesture/.fatherrc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export default {
umd: {
name: 'G.Gesture',
globals: {
'@antv/g-lite': 'window.G',
},
},
};
3 changes: 3 additions & 0 deletions packages/g-gesture/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"@antv/g-mobile-canvas": "^0.8.49",
"@antv/g-mobile-canvas-element": "^0.6.44"
},
"peerDependencies": {
"@antv/g-lite": "^1.0.0"
},
"publishConfig": {
"access": "public"
},
Expand Down
3 changes: 0 additions & 3 deletions packages/g-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
"@types/offscreencanvas": "^2019.6.1",
"@types/rbush": "^3.0.0"
},
"peerDependencies": {
"@antv/g-lite": "^1.0.0"
},
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit e398ed1

Please sign in to comment.