2016-01-12 02:12:40 +08:00
|
|
|
{
|
2016-02-22 15:40:00 +08:00
|
|
|
"name": "echarts",
|
2025-07-23 14:36:49 +08:00
|
|
|
"version": "6.0.0",
|
2021-01-11 17:00:55 +08:00
|
|
|
"description": "Apache ECharts is a powerful, interactive charting and data visualization library for browser",
|
2019-01-22 14:58:33 -06:00
|
|
|
"license": "Apache-2.0",
|
2016-02-22 15:40:00 +08:00
|
|
|
"keywords": [
|
2020-12-23 09:17:49 +08:00
|
|
|
"echarts",
|
|
|
|
|
"data-visualization",
|
|
|
|
|
"charts",
|
|
|
|
|
"charting-library",
|
2016-02-22 15:40:00 +08:00
|
|
|
"visualization",
|
2020-12-23 09:17:49 +08:00
|
|
|
"apache",
|
|
|
|
|
"data-viz",
|
|
|
|
|
"canvas",
|
|
|
|
|
"svg"
|
2016-02-22 15:40:00 +08:00
|
|
|
],
|
2020-12-28 16:51:29 +08:00
|
|
|
"main": "dist/echarts.js",
|
2020-12-27 13:42:58 +08:00
|
|
|
"module": "index.js",
|
2025-08-07 16:37:25 +08:00
|
|
|
"unpkg": "dist/echarts.min.js",
|
2020-07-28 16:03:19 +08:00
|
|
|
"jsdelivr": "dist/echarts.min.js",
|
2025-12-18 15:04:49 +08:00
|
|
|
"types": "types/dist/echarts.d.cts",
|
2022-04-01 14:11:23 +08:00
|
|
|
"homepage": "https://echarts.apache.org",
|
2020-12-23 09:17:49 +08:00
|
|
|
"bugs": {
|
2021-01-18 23:50:06 +08:00
|
|
|
"url": "https://github.com/apache/echarts/issues",
|
2020-12-23 09:17:49 +08:00
|
|
|
"email": "dev@echarts.apache.org"
|
|
|
|
|
},
|
2016-02-22 15:40:00 +08:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2021-01-18 23:50:06 +08:00
|
|
|
"url": "git+https://github.com/apache/echarts.git"
|
2016-02-22 15:40:00 +08:00
|
|
|
},
|
2020-12-03 18:33:56 +08:00
|
|
|
"sideEffects": [
|
2020-12-27 13:42:58 +08:00
|
|
|
"index.js",
|
|
|
|
|
"index.blank.js",
|
|
|
|
|
"index.common.js",
|
|
|
|
|
"index.simple.js",
|
2020-12-30 14:13:18 +08:00
|
|
|
"lib/echarts.js",
|
2020-12-28 16:51:29 +08:00
|
|
|
"lib/chart/*.js",
|
2020-12-30 15:43:31 +08:00
|
|
|
"lib/component/*.js",
|
2021-01-08 11:02:58 +08:00
|
|
|
"extension/**/*.js",
|
2020-12-28 16:51:29 +08:00
|
|
|
"theme/*.js",
|
|
|
|
|
"i18n/*.js"
|
2020-12-03 18:33:56 +08:00
|
|
|
],
|
2016-02-22 15:40:00 +08:00
|
|
|
"scripts": {
|
2021-01-05 16:57:26 +08:00
|
|
|
"build": "node build/build.js --type all,common,simple --min",
|
|
|
|
|
"build:esm": "node build/build.js --type all --min --format esm",
|
2020-07-30 09:28:14 +08:00
|
|
|
"build:i18n": "node build/build-i18n.js",
|
2021-01-05 16:57:26 +08:00
|
|
|
"build:lib": "node build/build.js --prepublish",
|
2021-01-05 17:20:33 +08:00
|
|
|
"build:extension": "node build/build.js --type extension",
|
2023-06-13 18:57:10 +08:00
|
|
|
"build:ssr": "node build/build.js --type ssr",
|
2020-07-28 11:50:22 +08:00
|
|
|
"dev:fast": "node build/build-i18n.js && node build/dev-fast.js",
|
2022-11-08 12:06:22 +08:00
|
|
|
"dev": "npx -y concurrently -n build,server \"npm run dev:fast\" \"npx -y http-server -c-1 -s -o test\"",
|
2023-06-07 16:04:40 +08:00
|
|
|
"prepare": "npm run build:lib && husky install",
|
2023-06-13 18:57:10 +08:00
|
|
|
"release": "npm run build:lib && npm run build:i18n && npm run build && npm run build:esm && npm run build:extension && npm run build:ssr",
|
2019-09-12 23:16:10 +08:00
|
|
|
"help": "node build/build.js --help",
|
2019-09-01 16:42:31 +08:00
|
|
|
"test:visual": "node test/runTest/server.js",
|
2024-01-31 01:23:14 +08:00
|
|
|
"test": "npx jest --config test/ut/jest.config.cjs",
|
|
|
|
|
"test:single": "npx jest --config test/ut/jest.config.cjs --coverage=false -t",
|
|
|
|
|
"test:single:debug": "npx --node-arg=--inspect-brk jest --runInBand --config test/ut/jest.config.cjs --coverage=false -t",
|
2025-12-18 15:04:49 +08:00
|
|
|
"test:dts": "npm install --prefix ./test/types && node build/testDts.js",
|
|
|
|
|
"test:dts:fast": "node build/testDts.js",
|
2019-09-18 01:25:06 +08:00
|
|
|
"mktest": "node test/build/mktest.js",
|
2019-09-18 02:23:24 +08:00
|
|
|
"mktest:help": "node test/build/mktest.js -h",
|
2021-05-06 14:10:21 +08:00
|
|
|
"checktype": "tsc --noEmit",
|
2025-07-24 16:41:46 +08:00
|
|
|
"checkheader": "node build/checkHeader.js",
|
2024-01-22 12:39:52 +08:00
|
|
|
"lint": "npx eslint --cache --cache-location node_modules/.cache/eslint src/**/*.ts ssr/client/src/**/*.ts extension-src/**/*.ts",
|
2021-05-06 15:45:44 +08:00
|
|
|
"lint:fix": "npx eslint --fix src/**/*.ts extension-src/**/*.ts",
|
|
|
|
|
"lint:dist": "echo 'It might take a while. Please wait ...' && npx jshint --config .jshintrc-dist dist/echarts.js"
|
2016-02-22 15:40:00 +08:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2021-07-01 11:18:27 +08:00
|
|
|
"tslib": "2.3.0",
|
2025-07-23 14:36:49 +08:00
|
|
|
"zrender": "6.0.0"
|
2016-02-22 15:40:00 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2020-12-14 14:17:19 +08:00
|
|
|
"@babel/code-frame": "7.10.4",
|
2019-04-09 16:21:15 +08:00
|
|
|
"@babel/core": "7.3.4",
|
2020-12-14 14:17:19 +08:00
|
|
|
"@babel/types": "7.10.5",
|
2025-12-18 15:04:49 +08:00
|
|
|
"@definitelytyped/typescript-versions": "^0.1.9",
|
2024-03-09 16:57:38 +08:00
|
|
|
"@definitelytyped/utils": "0.0.188",
|
2025-12-18 23:32:45 +08:00
|
|
|
"@lang/rollup-plugin-dts": "2.0.3",
|
2022-09-22 09:47:34 +00:00
|
|
|
"@microsoft/api-extractor": "7.31.2",
|
2020-12-28 11:46:05 +08:00
|
|
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
|
|
|
"@rollup/plugin-node-resolve": "^11.0.0",
|
2021-01-05 16:57:26 +08:00
|
|
|
"@rollup/plugin-replace": "^2.3.4",
|
2020-10-14 00:50:16 +08:00
|
|
|
"@types/jest": "^26.0.14",
|
2022-09-13 18:14:56 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
|
|
|
"@typescript-eslint/parser": "^4.33.0",
|
2020-02-15 11:23:08 +08:00
|
|
|
"chalk": "^3.0.0",
|
2017-11-10 13:00:14 +08:00
|
|
|
"commander": "2.11.0",
|
2020-11-08 09:15:49 +08:00
|
|
|
"dtslint": "^4.0.5",
|
2021-02-01 20:17:46 +08:00
|
|
|
"esbuild": "^0.8.39",
|
2020-12-14 14:17:19 +08:00
|
|
|
"eslint": "^7.15.0",
|
2021-05-10 16:40:54 +08:00
|
|
|
"fs-extra": "^10.0.0",
|
2020-02-15 11:23:08 +08:00
|
|
|
"globby": "11.0.0",
|
2023-04-24 18:11:50 +00:00
|
|
|
"husky": "^8.0.3",
|
2020-10-28 02:10:17 +08:00
|
|
|
"jest": "^26.6.1",
|
2023-04-20 18:25:41 +08:00
|
|
|
"jest-canvas-mock": "^2.5.0",
|
2022-09-22 09:47:14 +00:00
|
|
|
"jshint": "2.13.5",
|
2021-01-05 17:50:41 +08:00
|
|
|
"magic-string": "^0.25.7",
|
2019-09-11 20:16:04 +08:00
|
|
|
"open": "6.4.0",
|
2025-06-25 20:00:36 +08:00
|
|
|
"rollup": "2.34.2",
|
2021-01-05 16:57:26 +08:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2019-09-11 20:16:04 +08:00
|
|
|
"seedrandom": "3.0.3",
|
|
|
|
|
"semver": "6.3.0",
|
2022-12-12 11:47:40 +08:00
|
|
|
"terser": "^5.16.1",
|
2020-10-28 02:10:17 +08:00
|
|
|
"ts-jest": "^26.4.3",
|
2021-10-03 18:51:17 +08:00
|
|
|
"typescript": "4.4.3"
|
2024-01-16 04:21:38 +08:00
|
|
|
},
|
|
|
|
|
"type": "module",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
2025-12-18 15:04:49 +08:00
|
|
|
"types": {
|
|
|
|
|
"import": "./types/dist/all.d.ts",
|
|
|
|
|
"require": "./types/dist/echarts.d.cts",
|
|
|
|
|
"default": "./types/dist/all.d.ts"
|
|
|
|
|
},
|
2024-01-16 04:21:38 +08:00
|
|
|
"import": "./index.js",
|
2025-12-18 15:04:49 +08:00
|
|
|
"require": "./dist/echarts.js",
|
|
|
|
|
"default": "./index.js"
|
2024-01-16 04:21:38 +08:00
|
|
|
},
|
|
|
|
|
"./core": "./core.js",
|
|
|
|
|
"./core.js": "./core.js",
|
|
|
|
|
"./charts": "./charts.js",
|
|
|
|
|
"./charts.js": "./charts.js",
|
|
|
|
|
"./components": "./components.js",
|
|
|
|
|
"./components.js": "./components.js",
|
|
|
|
|
"./features": "./features.js",
|
|
|
|
|
"./features.js": "./features.js",
|
|
|
|
|
"./renderers": "./renderers.js",
|
|
|
|
|
"./renderers.js": "./renderers.js",
|
|
|
|
|
"./index.blank": "./index.blank.js",
|
|
|
|
|
"./index.blank.js": "./index.blank.js",
|
|
|
|
|
"./index.common": "./index.common.js",
|
|
|
|
|
"./index.common.js": "./index.common.js",
|
|
|
|
|
"./index.simple": "./index.simple.js",
|
|
|
|
|
"./index.simple.js": "./index.simple.js",
|
|
|
|
|
"./index": "./index.js",
|
|
|
|
|
"./index.js": "./index.js",
|
2024-01-25 03:26:18 +08:00
|
|
|
"./theme/*": "./theme/*",
|
|
|
|
|
"./i18n/*": "./i18n/*",
|
2025-12-18 15:04:49 +08:00
|
|
|
"./types/dist/all": "./types/dist/all.d.ts",
|
2024-06-14 02:42:37 +08:00
|
|
|
"./types/dist/charts": "./types/dist/charts.d.ts",
|
|
|
|
|
"./types/dist/components": "./types/dist/components.d.ts",
|
|
|
|
|
"./types/dist/core": "./types/dist/core.d.ts",
|
|
|
|
|
"./types/dist/echarts": "./types/dist/echarts.d.ts",
|
|
|
|
|
"./types/dist/features": "./types/dist/features.d.ts",
|
|
|
|
|
"./types/dist/option": "./types/dist/option.d.ts",
|
|
|
|
|
"./types/dist/renderers": "./types/dist/renderers.d.ts",
|
|
|
|
|
"./types/dist/shared": "./types/dist/shared.d.ts",
|
2024-01-25 03:26:18 +08:00
|
|
|
"./ssr/client/index": {
|
|
|
|
|
"types": "./ssr/client/index.d.ts",
|
|
|
|
|
"import": "./ssr/client/index.js",
|
|
|
|
|
"require": "./ssr/client/dist/index.js"
|
|
|
|
|
},
|
2024-01-16 04:21:38 +08:00
|
|
|
"./extension/dataTool": "./extension/dataTool/index.js",
|
|
|
|
|
"./extension/dataTool/index": "./extension/dataTool/index.js",
|
|
|
|
|
"./extension/dataTool/index.js": "./extension/dataTool/index.js",
|
2024-01-25 03:26:18 +08:00
|
|
|
"./extension/dataTool/gexf": "./extension/dataTool/gexf.js",
|
|
|
|
|
"./extension/dataTool/gexf.js": "./extension/dataTool/gexf.js",
|
|
|
|
|
"./extension/dataTool/prepareBoxplotData": "./extension/dataTool/prepareBoxplotData.js",
|
|
|
|
|
"./extension/dataTool/prepareBoxplotData.js": "./extension/dataTool/prepareBoxplotData.js",
|
2024-01-16 04:21:38 +08:00
|
|
|
"./extension/bmap/bmap": "./extension/bmap/bmap.js",
|
|
|
|
|
"./extension/bmap/bmap.js": "./extension/bmap/bmap.js",
|
|
|
|
|
"./lib/echarts": "./lib/echarts.js",
|
|
|
|
|
"./lib/echarts.js": "./lib/echarts.js",
|
|
|
|
|
"./lib/extension": "./lib/extension.js",
|
|
|
|
|
"./lib/extension.js": "./lib/extension.js",
|
2024-01-25 03:26:18 +08:00
|
|
|
"./lib/chart/bar": "./lib/chart/bar.js",
|
|
|
|
|
"./lib/chart/boxplot": "./lib/chart/boxplot.js",
|
|
|
|
|
"./lib/chart/candlestick": "./lib/chart/candlestick.js",
|
2025-08-12 01:47:00 +08:00
|
|
|
"./lib/chart/chord": "./lib/chart/chord.js",
|
2024-01-25 03:26:18 +08:00
|
|
|
"./lib/chart/custom": "./lib/chart/custom.js",
|
|
|
|
|
"./lib/chart/effectScatter": "./lib/chart/effectScatter.js",
|
|
|
|
|
"./lib/chart/funnel": "./lib/chart/funnel.js",
|
|
|
|
|
"./lib/chart/gauge": "./lib/chart/gauge.js",
|
|
|
|
|
"./lib/chart/graph": "./lib/chart/graph.js",
|
|
|
|
|
"./lib/chart/heatmap": "./lib/chart/heatmap.js",
|
|
|
|
|
"./lib/chart/line": "./lib/chart/line.js",
|
|
|
|
|
"./lib/chart/lines": "./lib/chart/lines.js",
|
|
|
|
|
"./lib/chart/map": "./lib/chart/map.js",
|
|
|
|
|
"./lib/chart/parallel": "./lib/chart/parallel.js",
|
|
|
|
|
"./lib/chart/pictorialBar": "./lib/chart/pictorialBar.js",
|
|
|
|
|
"./lib/chart/pie": "./lib/chart/pie.js",
|
|
|
|
|
"./lib/chart/radar": "./lib/chart/radar.js",
|
|
|
|
|
"./lib/chart/sankey": "./lib/chart/sankey.js",
|
|
|
|
|
"./lib/chart/scatter": "./lib/chart/scatter.js",
|
|
|
|
|
"./lib/chart/sunburst": "./lib/chart/sunburst.js",
|
|
|
|
|
"./lib/chart/themeRiver": "./lib/chart/themeRiver.js",
|
|
|
|
|
"./lib/chart/tree": "./lib/chart/tree.js",
|
|
|
|
|
"./lib/chart/treemap": "./lib/chart/treemap.js",
|
|
|
|
|
"./lib/component/aria": "./lib/component/aria.js",
|
|
|
|
|
"./lib/component/axisPointer": "./lib/component/axisPointer.js",
|
|
|
|
|
"./lib/component/brush": "./lib/component/brush.js",
|
|
|
|
|
"./lib/component/calendar": "./lib/component/calendar.js",
|
2024-06-03 15:51:02 +08:00
|
|
|
"./lib/component/matrix": "./lib/component/matrix.js",
|
2025-06-19 22:22:25 +08:00
|
|
|
"./lib/component/thumbnail": "./lib/component/thumbnail.js",
|
2024-01-25 03:26:18 +08:00
|
|
|
"./lib/component/dataZoom": "./lib/component/dataZoom.js",
|
|
|
|
|
"./lib/component/dataZoomInside": "./lib/component/dataZoomInside.js",
|
|
|
|
|
"./lib/component/dataZoomSelect": "./lib/component/dataZoomSelect.js",
|
|
|
|
|
"./lib/component/dataZoomSlider": "./lib/component/dataZoomSlider.js",
|
|
|
|
|
"./lib/component/dataset": "./lib/component/dataset.js",
|
|
|
|
|
"./lib/component/geo": "./lib/component/geo.js",
|
|
|
|
|
"./lib/component/graphic": "./lib/component/graphic.js",
|
|
|
|
|
"./lib/component/grid": "./lib/component/grid.js",
|
|
|
|
|
"./lib/component/gridSimple": "./lib/component/gridSimple.js",
|
|
|
|
|
"./lib/component/legend": "./lib/component/legend.js",
|
|
|
|
|
"./lib/component/legendPlain": "./lib/component/legendPlain.js",
|
|
|
|
|
"./lib/component/legendScroll": "./lib/component/legendScroll.js",
|
|
|
|
|
"./lib/component/markArea": "./lib/component/markArea.js",
|
|
|
|
|
"./lib/component/markLine": "./lib/component/markLine.js",
|
|
|
|
|
"./lib/component/markPoint": "./lib/component/markPoint.js",
|
|
|
|
|
"./lib/component/parallel": "./lib/component/parallel.js",
|
|
|
|
|
"./lib/component/polar": "./lib/component/polar.js",
|
|
|
|
|
"./lib/component/radar": "./lib/component/radar.js",
|
|
|
|
|
"./lib/component/singleAxis": "./lib/component/singleAxis.js",
|
|
|
|
|
"./lib/component/timeline": "./lib/component/timeline.js",
|
|
|
|
|
"./lib/component/title": "./lib/component/title.js",
|
|
|
|
|
"./lib/component/toolbox": "./lib/component/toolbox.js",
|
|
|
|
|
"./lib/component/tooltip": "./lib/component/tooltip.js",
|
|
|
|
|
"./lib/component/transform": "./lib/component/transform.js",
|
|
|
|
|
"./lib/component/visualMap": "./lib/component/visualMap.js",
|
|
|
|
|
"./lib/component/visualMapContinuous": "./lib/component/visualMapContinuous.js",
|
|
|
|
|
"./lib/component/visualMapPiecewise": "./lib/component/visualMapPiecewise.js",
|
2024-02-04 14:31:04 +08:00
|
|
|
"./dist/echarts.common": "./dist/echarts.common.js",
|
|
|
|
|
"./dist/echarts.common.min": "./dist/echarts.common.min.js",
|
|
|
|
|
"./dist/echarts.esm": "./dist/echarts.esm.mjs",
|
|
|
|
|
"./dist/echarts.esm.min": "./dist/echarts.esm.min.mjs",
|
|
|
|
|
"./dist/echarts": "./dist/echarts.js",
|
|
|
|
|
"./dist/echarts.min": "./dist/echarts.min.js",
|
|
|
|
|
"./dist/echarts.simple": "./dist/echarts.simple.js",
|
|
|
|
|
"./dist/echarts.simple.min": "./dist/echarts.simple.min.js",
|
|
|
|
|
"./dist/extension/bmap": "./dist/extension/bmap.js",
|
|
|
|
|
"./dist/extension/bmap.min": "./dist/extension/bmap.min.js",
|
|
|
|
|
"./dist/extension/dataTool": "./dist/extension/dataTool.js",
|
|
|
|
|
"./dist/extension/dataTool.min": "./dist/extension/dataTool.min.js",
|
2024-01-25 03:26:18 +08:00
|
|
|
"./*": "./*"
|
2016-02-22 15:40:00 +08:00
|
|
|
}
|
2025-06-25 19:11:33 +08:00
|
|
|
}
|