|
|
@@ -1,70 +1,57 @@
|
|
|
{
|
|
|
"name": "@d8d/mini-charts",
|
|
|
"version": "1.0.0",
|
|
|
- "type": "module",
|
|
|
"description": "小程序图表库包 - 提供 u-charts 图表库核心功能",
|
|
|
- "main": "src/index.ts",
|
|
|
- "types": "src/index.ts",
|
|
|
+ "main": "dist/src/index.js",
|
|
|
+ "types": "dist/src/index.d.ts",
|
|
|
"exports": {
|
|
|
".": {
|
|
|
"types": "./dist/src/index.d.ts",
|
|
|
- "import": "./dist/src/index.js",
|
|
|
- "require": "./dist/src/index.js"
|
|
|
+ "default": "./dist/src/index.js"
|
|
|
},
|
|
|
"./components/BaseChart": {
|
|
|
"types": "./dist/src/components/BaseChart.d.ts",
|
|
|
- "import": "./dist/src/components/BaseChart.js",
|
|
|
- "require": "./dist/src/components/BaseChart.js"
|
|
|
+ "default": "./dist/src/components/BaseChart.js"
|
|
|
},
|
|
|
"./components/BarChart": {
|
|
|
"types": "./dist/src/components/BarChart.d.ts",
|
|
|
- "import": "./dist/src/components/BarChart.js",
|
|
|
- "require": "./dist/src/components/BarChart.js"
|
|
|
+ "default": "./dist/src/components/BarChart.js"
|
|
|
},
|
|
|
"./components/CandleChart": {
|
|
|
"types": "./dist/src/components/CandleChart.d.ts",
|
|
|
- "import": "./dist/src/components/CandleChart.js",
|
|
|
- "require": "./dist/src/components/CandleChart.js"
|
|
|
+ "default": "./dist/src/components/CandleChart.js"
|
|
|
},
|
|
|
"./components/ColumnChart": {
|
|
|
"types": "./dist/src/components/ColumnChart.d.ts",
|
|
|
- "import": "./dist/src/components/ColumnChart.js",
|
|
|
- "require": "./dist/src/components/ColumnChart.js"
|
|
|
+ "default": "./dist/src/components/ColumnChart.js"
|
|
|
},
|
|
|
"./components/LineChart": {
|
|
|
"types": "./dist/src/components/LineChart.d.ts",
|
|
|
- "import": "./dist/src/components/LineChart.js",
|
|
|
- "require": "./dist/src/components/LineChart.js"
|
|
|
+ "default": "./dist/src/components/LineChart.js"
|
|
|
},
|
|
|
"./components/PieChart": {
|
|
|
"types": "./dist/src/components/PieChart.d.ts",
|
|
|
- "import": "./dist/src/components/PieChart.js",
|
|
|
- "require": "./dist/src/components/PieChart.js"
|
|
|
+ "default": "./dist/src/components/PieChart.js"
|
|
|
},
|
|
|
"./components/RadarChart": {
|
|
|
"types": "./dist/src/components/RadarChart.d.ts",
|
|
|
- "import": "./dist/src/components/RadarChart.js",
|
|
|
- "require": "./dist/src/components/RadarChart.js"
|
|
|
+ "default": "./dist/src/components/RadarChart.js"
|
|
|
},
|
|
|
"./components/ColumnChartFCExample": {
|
|
|
"types": "./dist/src/components/ColumnChartFCExample.d.ts",
|
|
|
- "import": "./dist/src/components/ColumnChartFCExample.js",
|
|
|
- "require": "./dist/src/components/ColumnChartFCExample.js"
|
|
|
+ "default": "./dist/src/components/ColumnChartFCExample.js"
|
|
|
},
|
|
|
"./components/PieChartFCExample": {
|
|
|
"types": "./dist/src/components/PieChartFCExample.d.ts",
|
|
|
- "import": "./dist/src/components/PieChartFCExample.js",
|
|
|
- "require": "./dist/src/components/PieChartFCExample.js"
|
|
|
+ "default": "./dist/src/components/PieChartFCExample.js"
|
|
|
},
|
|
|
"./components/RingChart": {
|
|
|
"types": "./dist/src/components/RingChart.d.ts",
|
|
|
- "import": "./dist/src/components/RingChart.js",
|
|
|
- "require": "./dist/src/components/RingChart.js"
|
|
|
+ "default": "./dist/src/components/RingChart.js"
|
|
|
},
|
|
|
"./components/RingChartFCExample": {
|
|
|
"types": "./dist/src/components/RingChartFCExample.d.ts",
|
|
|
- "import": "./dist/src/components/RingChartFCExample.js",
|
|
|
- "require": "./dist/src/components/RingChartFCExample.js"
|
|
|
+ "default": "./dist/src/components/RingChartFCExample.js"
|
|
|
}
|
|
|
},
|
|
|
"scripts": {
|
|
|
@@ -100,6 +87,7 @@
|
|
|
"typescript": "^5.4.5"
|
|
|
},
|
|
|
"files": [
|
|
|
+ "dist",
|
|
|
"src"
|
|
|
],
|
|
|
"keywords": [
|