Skip to content

Commit

Permalink
feat: export echarts
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqingchen committed Oct 15, 2024
1 parent d582a5f commit 0ed558f
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": "2.0.0",
"version": "2.0.0-all.1",
"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": "^19.3.0",
"del-cli": "^5.0.0",
"echarts": "^5.5.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
Expand All @@ -81,17 +80,14 @@
"react-test-renderer": "^18.3.1",
"release-it": "^17.2.1",
"sharp": "^0.33.5",
"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,3 +1,5 @@
import * as _echarts from 'echarts/index';
export { default as SkiaChart, SkiaRenderer } from './skia/skiaChart';
export { default as SvgChart, SVGRenderer } from './svg/svgChart';
export * from './types';
export const echarts = _echarts;

0 comments on commit 0ed558f

Please sign in to comment.