1 | {
|
2 | "name": "echarts",
|
3 | "version": "5.5.0",
|
4 | "description": "Apache ECharts is a powerful, interactive charting and data visualization library for browser",
|
5 | "license": "Apache-2.0",
|
6 | "keywords": [
|
7 | "echarts",
|
8 | "data-visualization",
|
9 | "charts",
|
10 | "charting-library",
|
11 | "visualization",
|
12 | "apache",
|
13 | "data-viz",
|
14 | "canvas",
|
15 | "svg"
|
16 | ],
|
17 | "main": "dist/echarts.js",
|
18 | "module": "index.js",
|
19 | "jsdelivr": "dist/echarts.min.js",
|
20 | "types": "index.d.ts",
|
21 | "homepage": "https://echarts.apache.org",
|
22 | "bugs": {
|
23 | "url": "https://github.com/apache/echarts/issues",
|
24 | "email": "dev@echarts.apache.org"
|
25 | },
|
26 | "repository": {
|
27 | "type": "git",
|
28 | "url": "git+https://github.com/apache/echarts.git"
|
29 | },
|
30 | "sideEffects": [
|
31 | "index.js",
|
32 | "index.blank.js",
|
33 | "index.common.js",
|
34 | "index.simple.js",
|
35 | "lib/echarts.js",
|
36 | "lib/chart/*.js",
|
37 | "lib/component/*.js",
|
38 | "extension/**/*.js",
|
39 | "theme/*.js",
|
40 | "i18n/*.js"
|
41 | ],
|
42 | "scripts": {
|
43 | "build": "node build/build.js --type all,common,simple --min",
|
44 | "build:esm": "node build/build.js --type all --min --format esm",
|
45 | "build:i18n": "node build/build-i18n.js",
|
46 | "build:lib": "node build/build.js --prepublish",
|
47 | "build:extension": "node build/build.js --type extension",
|
48 | "build:ssr": "node build/build.js --type ssr",
|
49 | "dev:fast": "node build/build-i18n.js && node build/dev-fast.js",
|
50 | "dev": "npx -y concurrently -n build,server \"npm run dev:fast\" \"npx -y http-server -c-1 -s -o test\"",
|
51 | "prepare": "npm run build:lib && husky install",
|
52 | "release": "npm run build:lib && npm run build:i18n && npm run build && npm run build:esm && npm run build:extension && npm run build:ssr",
|
53 | "help": "node build/build.js --help",
|
54 | "test:visual": "node test/runTest/server.js",
|
55 | "test": "npx jest --config test/ut/jest.config.cjs",
|
56 | "test:single": "npx jest --config test/ut/jest.config.cjs --coverage=false -t",
|
57 | "test:single:debug": "npx --node-arg=--inspect-brk jest --runInBand --config test/ut/jest.config.cjs --coverage=false -t",
|
58 | "test:dts": "node build/testDts.js",
|
59 | "mktest": "node test/build/mktest.js",
|
60 | "mktest:help": "node test/build/mktest.js -h",
|
61 | "checktype": "tsc --noEmit",
|
62 | "lint": "npx eslint --cache --cache-location node_modules/.cache/eslint src/**/*.ts ssr/client/src/**/*.ts extension-src/**/*.ts",
|
63 | "lint:fix": "npx eslint --fix src/**/*.ts extension-src/**/*.ts",
|
64 | "lint:dist": "echo 'It might take a while. Please wait ...' && npx jshint --config .jshintrc-dist dist/echarts.js"
|
65 | },
|
66 | "dependencies": {
|
67 | "tslib": "2.3.0",
|
68 | "zrender": "5.5.0"
|
69 | },
|
70 | "devDependencies": {
|
71 | "@babel/code-frame": "7.10.4",
|
72 | "@babel/core": "7.3.4",
|
73 | "@babel/types": "7.10.5",
|
74 | "@definitelytyped/typescript-versions": "0.0.64",
|
75 | "@definitelytyped/utils": "0.0.64",
|
76 | "@lang/rollup-plugin-dts": "2.0.2",
|
77 | "@microsoft/api-extractor": "7.31.2",
|
78 | "@rollup/plugin-commonjs": "^17.0.0",
|
79 | "@rollup/plugin-node-resolve": "^11.0.0",
|
80 | "@rollup/plugin-replace": "^2.3.4",
|
81 | "@types/jest": "^26.0.14",
|
82 | "@typescript-eslint/eslint-plugin": "^4.33.0",
|
83 | "@typescript-eslint/parser": "^4.33.0",
|
84 | "chalk": "^3.0.0",
|
85 | "commander": "2.11.0",
|
86 | "dtslint": "^4.0.5",
|
87 | "esbuild": "^0.8.39",
|
88 | "eslint": "^7.15.0",
|
89 | "fs-extra": "^10.0.0",
|
90 | "globby": "11.0.0",
|
91 | "husky": "^8.0.3",
|
92 | "jest": "^26.6.1",
|
93 | "jest-canvas-mock": "^2.5.0",
|
94 | "jshint": "2.13.5",
|
95 | "magic-string": "^0.25.7",
|
96 | "open": "6.4.0",
|
97 | "rollup": "2.34.2",
|
98 | "rollup-plugin-terser": "^7.0.2",
|
99 | "seedrandom": "3.0.3",
|
100 | "semver": "6.3.0",
|
101 | "terser": "^5.16.1",
|
102 | "ts-jest": "^26.4.3",
|
103 | "typescript": "4.4.3"
|
104 | },
|
105 | "type": "module",
|
106 | "exports": {
|
107 | ".": {
|
108 | "types": "./index.d.ts",
|
109 | "import": "./index.js",
|
110 | "require": "./dist/echarts.js"
|
111 | },
|
112 | "./core": "./core.js",
|
113 | "./core.js": "./core.js",
|
114 | "./charts": "./charts.js",
|
115 | "./charts.js": "./charts.js",
|
116 | "./components": "./components.js",
|
117 | "./components.js": "./components.js",
|
118 | "./features": "./features.js",
|
119 | "./features.js": "./features.js",
|
120 | "./renderers": "./renderers.js",
|
121 | "./renderers.js": "./renderers.js",
|
122 | "./index.blank": "./index.blank.js",
|
123 | "./index.blank.js": "./index.blank.js",
|
124 | "./index.common": "./index.common.js",
|
125 | "./index.common.js": "./index.common.js",
|
126 | "./index.simple": "./index.simple.js",
|
127 | "./index.simple.js": "./index.simple.js",
|
128 | "./index": "./index.js",
|
129 | "./index.js": "./index.js",
|
130 | "./theme/*": "./theme/*",
|
131 | "./i18n/*": "./i18n/*",
|
132 | "./ssr/client/index": {
|
133 | "types": "./ssr/client/index.d.ts",
|
134 | "import": "./ssr/client/index.js",
|
135 | "require": "./ssr/client/dist/index.js"
|
136 | },
|
137 | "./extension/dataTool": "./extension/dataTool/index.js",
|
138 | "./extension/dataTool/index": "./extension/dataTool/index.js",
|
139 | "./extension/dataTool/index.js": "./extension/dataTool/index.js",
|
140 | "./extension/dataTool/gexf": "./extension/dataTool/gexf.js",
|
141 | "./extension/dataTool/gexf.js": "./extension/dataTool/gexf.js",
|
142 | "./extension/dataTool/prepareBoxplotData": "./extension/dataTool/prepareBoxplotData.js",
|
143 | "./extension/dataTool/prepareBoxplotData.js": "./extension/dataTool/prepareBoxplotData.js",
|
144 | "./extension/bmap/bmap": "./extension/bmap/bmap.js",
|
145 | "./extension/bmap/bmap.js": "./extension/bmap/bmap.js",
|
146 | "./lib/echarts": "./lib/echarts.js",
|
147 | "./lib/echarts.js": "./lib/echarts.js",
|
148 | "./lib/extension": "./lib/extension.js",
|
149 | "./lib/extension.js": "./lib/extension.js",
|
150 | "./lib/chart/bar": "./lib/chart/bar.js",
|
151 | "./lib/chart/boxplot": "./lib/chart/boxplot.js",
|
152 | "./lib/chart/candlestick": "./lib/chart/candlestick.js",
|
153 | "./lib/chart/custom": "./lib/chart/custom.js",
|
154 | "./lib/chart/effectScatter": "./lib/chart/effectScatter.js",
|
155 | "./lib/chart/funnel": "./lib/chart/funnel.js",
|
156 | "./lib/chart/gauge": "./lib/chart/gauge.js",
|
157 | "./lib/chart/graph": "./lib/chart/graph.js",
|
158 | "./lib/chart/heatmap": "./lib/chart/heatmap.js",
|
159 | "./lib/chart/line": "./lib/chart/line.js",
|
160 | "./lib/chart/lines": "./lib/chart/lines.js",
|
161 | "./lib/chart/map": "./lib/chart/map.js",
|
162 | "./lib/chart/parallel": "./lib/chart/parallel.js",
|
163 | "./lib/chart/pictorialBar": "./lib/chart/pictorialBar.js",
|
164 | "./lib/chart/pie": "./lib/chart/pie.js",
|
165 | "./lib/chart/radar": "./lib/chart/radar.js",
|
166 | "./lib/chart/sankey": "./lib/chart/sankey.js",
|
167 | "./lib/chart/scatter": "./lib/chart/scatter.js",
|
168 | "./lib/chart/sunburst": "./lib/chart/sunburst.js",
|
169 | "./lib/chart/themeRiver": "./lib/chart/themeRiver.js",
|
170 | "./lib/chart/tree": "./lib/chart/tree.js",
|
171 | "./lib/chart/treemap": "./lib/chart/treemap.js",
|
172 | "./lib/component/aria": "./lib/component/aria.js",
|
173 | "./lib/component/axisPointer": "./lib/component/axisPointer.js",
|
174 | "./lib/component/brush": "./lib/component/brush.js",
|
175 | "./lib/component/calendar": "./lib/component/calendar.js",
|
176 | "./lib/component/dataZoom": "./lib/component/dataZoom.js",
|
177 | "./lib/component/dataZoomInside": "./lib/component/dataZoomInside.js",
|
178 | "./lib/component/dataZoomSelect": "./lib/component/dataZoomSelect.js",
|
179 | "./lib/component/dataZoomSlider": "./lib/component/dataZoomSlider.js",
|
180 | "./lib/component/dataset": "./lib/component/dataset.js",
|
181 | "./lib/component/geo": "./lib/component/geo.js",
|
182 | "./lib/component/graphic": "./lib/component/graphic.js",
|
183 | "./lib/component/grid": "./lib/component/grid.js",
|
184 | "./lib/component/gridSimple": "./lib/component/gridSimple.js",
|
185 | "./lib/component/legend": "./lib/component/legend.js",
|
186 | "./lib/component/legendPlain": "./lib/component/legendPlain.js",
|
187 | "./lib/component/legendScroll": "./lib/component/legendScroll.js",
|
188 | "./lib/component/markArea": "./lib/component/markArea.js",
|
189 | "./lib/component/markLine": "./lib/component/markLine.js",
|
190 | "./lib/component/markPoint": "./lib/component/markPoint.js",
|
191 | "./lib/component/parallel": "./lib/component/parallel.js",
|
192 | "./lib/component/polar": "./lib/component/polar.js",
|
193 | "./lib/component/radar": "./lib/component/radar.js",
|
194 | "./lib/component/singleAxis": "./lib/component/singleAxis.js",
|
195 | "./lib/component/timeline": "./lib/component/timeline.js",
|
196 | "./lib/component/title": "./lib/component/title.js",
|
197 | "./lib/component/toolbox": "./lib/component/toolbox.js",
|
198 | "./lib/component/tooltip": "./lib/component/tooltip.js",
|
199 | "./lib/component/transform": "./lib/component/transform.js",
|
200 | "./lib/component/visualMap": "./lib/component/visualMap.js",
|
201 | "./lib/component/visualMapContinuous": "./lib/component/visualMapContinuous.js",
|
202 | "./lib/component/visualMapPiecewise": "./lib/component/visualMapPiecewise.js",
|
203 | "./dist/echarts.common": "./dist/echarts.common.js",
|
204 | "./dist/echarts.common.min": "./dist/echarts.common.min.js",
|
205 | "./dist/echarts.esm": "./dist/echarts.esm.mjs",
|
206 | "./dist/echarts.esm.min": "./dist/echarts.esm.min.mjs",
|
207 | "./dist/echarts": "./dist/echarts.js",
|
208 | "./dist/echarts.min": "./dist/echarts.min.js",
|
209 | "./dist/echarts.simple": "./dist/echarts.simple.js",
|
210 | "./dist/echarts.simple.min": "./dist/echarts.simple.min.js",
|
211 | "./dist/extension/bmap": "./dist/extension/bmap.js",
|
212 | "./dist/extension/bmap.min": "./dist/extension/bmap.min.js",
|
213 | "./dist/extension/dataTool": "./dist/extension/dataTool.js",
|
214 | "./dist/extension/dataTool.min": "./dist/extension/dataTool.min.js",
|
215 | "./*": "./*"
|
216 | }
|
217 | }
|