Skip to content

Commit

Permalink
feat: export echarts
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqingchen committed Feb 21, 2024
1 parent 96cfc0a commit d1bca9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wuba/react-native-echarts",
"version": "1.3.0",
"version": "1.3.0-all.0",
"description": "Echarts for react native.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -65,7 +65,6 @@
"@types/react-test-renderer": "^18.0.7",
"commitlint": "^17.0.2",
"del-cli": "^5.0.0",
"echarts": "^5.5.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
Expand All @@ -81,17 +80,14 @@
"react-test-renderer": "^18.2.0",
"release-it": "^15.0.0",
"sharp": "^0.33.2",
"typescript": "^5.0.4",
"zrender": "^5.5.0"
"typescript": "^5.0.4"
},
"peerDependencies": {
"@shopify/react-native-skia": "*",
"echarts": "*",
"react": "*",
"react-native": "*",
"react-native-gesture-handler": "*",
"react-native-svg": "*",
"zrender": "*"
"react-native-svg": "*"
},
"engines": {
"node": ">= 14.0.0"
Expand Down Expand Up @@ -165,6 +161,8 @@
},
"dependencies": {
"@xmldom/xmldom": "^0.8.6",
"entities": "^4.4.0"
"echarts": "^5.5.0",
"entities": "^4.4.0",
"zrender": "^5.5.0"
}
}
2 changes: 2 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import * as _echarts from 'echarts/index';
export { default as SkiaChart } from './skiaChart';
export { default as SvgChart } from './svgChart';
export { SVGRenderer } from './SVGRenderer';
export * from './types';
export const echarts = _echarts;

0 comments on commit d1bca9f

Please sign in to comment.