package.json 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. {
  2. "name": "echarts",
  3. "version": "5.5.1",
  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.6.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.1.1",
  75. "@definitelytyped/utils": "0.0.188",
  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. "./types/dist/charts": "./types/dist/charts.d.ts",
  133. "./types/dist/components": "./types/dist/components.d.ts",
  134. "./types/dist/core": "./types/dist/core.d.ts",
  135. "./types/dist/echarts": "./types/dist/echarts.d.ts",
  136. "./types/dist/features": "./types/dist/features.d.ts",
  137. "./types/dist/option": "./types/dist/option.d.ts",
  138. "./types/dist/renderers": "./types/dist/renderers.d.ts",
  139. "./types/dist/shared": "./types/dist/shared.d.ts",
  140. "./ssr/client/index": {
  141. "types": "./ssr/client/index.d.ts",
  142. "import": "./ssr/client/index.js",
  143. "require": "./ssr/client/dist/index.js"
  144. },
  145. "./extension/dataTool": "./extension/dataTool/index.js",
  146. "./extension/dataTool/index": "./extension/dataTool/index.js",
  147. "./extension/dataTool/index.js": "./extension/dataTool/index.js",
  148. "./extension/dataTool/gexf": "./extension/dataTool/gexf.js",
  149. "./extension/dataTool/gexf.js": "./extension/dataTool/gexf.js",
  150. "./extension/dataTool/prepareBoxplotData": "./extension/dataTool/prepareBoxplotData.js",
  151. "./extension/dataTool/prepareBoxplotData.js": "./extension/dataTool/prepareBoxplotData.js",
  152. "./extension/bmap/bmap": "./extension/bmap/bmap.js",
  153. "./extension/bmap/bmap.js": "./extension/bmap/bmap.js",
  154. "./lib/echarts": "./lib/echarts.js",
  155. "./lib/echarts.js": "./lib/echarts.js",
  156. "./lib/extension": "./lib/extension.js",
  157. "./lib/extension.js": "./lib/extension.js",
  158. "./lib/chart/bar": "./lib/chart/bar.js",
  159. "./lib/chart/boxplot": "./lib/chart/boxplot.js",
  160. "./lib/chart/candlestick": "./lib/chart/candlestick.js",
  161. "./lib/chart/custom": "./lib/chart/custom.js",
  162. "./lib/chart/effectScatter": "./lib/chart/effectScatter.js",
  163. "./lib/chart/funnel": "./lib/chart/funnel.js",
  164. "./lib/chart/gauge": "./lib/chart/gauge.js",
  165. "./lib/chart/graph": "./lib/chart/graph.js",
  166. "./lib/chart/heatmap": "./lib/chart/heatmap.js",
  167. "./lib/chart/line": "./lib/chart/line.js",
  168. "./lib/chart/lines": "./lib/chart/lines.js",
  169. "./lib/chart/map": "./lib/chart/map.js",
  170. "./lib/chart/parallel": "./lib/chart/parallel.js",
  171. "./lib/chart/pictorialBar": "./lib/chart/pictorialBar.js",
  172. "./lib/chart/pie": "./lib/chart/pie.js",
  173. "./lib/chart/radar": "./lib/chart/radar.js",
  174. "./lib/chart/sankey": "./lib/chart/sankey.js",
  175. "./lib/chart/scatter": "./lib/chart/scatter.js",
  176. "./lib/chart/sunburst": "./lib/chart/sunburst.js",
  177. "./lib/chart/themeRiver": "./lib/chart/themeRiver.js",
  178. "./lib/chart/tree": "./lib/chart/tree.js",
  179. "./lib/chart/treemap": "./lib/chart/treemap.js",
  180. "./lib/component/aria": "./lib/component/aria.js",
  181. "./lib/component/axisPointer": "./lib/component/axisPointer.js",
  182. "./lib/component/brush": "./lib/component/brush.js",
  183. "./lib/component/calendar": "./lib/component/calendar.js",
  184. "./lib/component/dataZoom": "./lib/component/dataZoom.js",
  185. "./lib/component/dataZoomInside": "./lib/component/dataZoomInside.js",
  186. "./lib/component/dataZoomSelect": "./lib/component/dataZoomSelect.js",
  187. "./lib/component/dataZoomSlider": "./lib/component/dataZoomSlider.js",
  188. "./lib/component/dataset": "./lib/component/dataset.js",
  189. "./lib/component/geo": "./lib/component/geo.js",
  190. "./lib/component/graphic": "./lib/component/graphic.js",
  191. "./lib/component/grid": "./lib/component/grid.js",
  192. "./lib/component/gridSimple": "./lib/component/gridSimple.js",
  193. "./lib/component/legend": "./lib/component/legend.js",
  194. "./lib/component/legendPlain": "./lib/component/legendPlain.js",
  195. "./lib/component/legendScroll": "./lib/component/legendScroll.js",
  196. "./lib/component/markArea": "./lib/component/markArea.js",
  197. "./lib/component/markLine": "./lib/component/markLine.js",
  198. "./lib/component/markPoint": "./lib/component/markPoint.js",
  199. "./lib/component/parallel": "./lib/component/parallel.js",
  200. "./lib/component/polar": "./lib/component/polar.js",
  201. "./lib/component/radar": "./lib/component/radar.js",
  202. "./lib/component/singleAxis": "./lib/component/singleAxis.js",
  203. "./lib/component/timeline": "./lib/component/timeline.js",
  204. "./lib/component/title": "./lib/component/title.js",
  205. "./lib/component/toolbox": "./lib/component/toolbox.js",
  206. "./lib/component/tooltip": "./lib/component/tooltip.js",
  207. "./lib/component/transform": "./lib/component/transform.js",
  208. "./lib/component/visualMap": "./lib/component/visualMap.js",
  209. "./lib/component/visualMapContinuous": "./lib/component/visualMapContinuous.js",
  210. "./lib/component/visualMapPiecewise": "./lib/component/visualMapPiecewise.js",
  211. "./dist/echarts.common": "./dist/echarts.common.js",
  212. "./dist/echarts.common.min": "./dist/echarts.common.min.js",
  213. "./dist/echarts.esm": "./dist/echarts.esm.mjs",
  214. "./dist/echarts.esm.min": "./dist/echarts.esm.min.mjs",
  215. "./dist/echarts": "./dist/echarts.js",
  216. "./dist/echarts.min": "./dist/echarts.min.js",
  217. "./dist/echarts.simple": "./dist/echarts.simple.js",
  218. "./dist/echarts.simple.min": "./dist/echarts.simple.min.js",
  219. "./dist/extension/bmap": "./dist/extension/bmap.js",
  220. "./dist/extension/bmap.min": "./dist/extension/bmap.min.js",
  221. "./dist/extension/dataTool": "./dist/extension/dataTool.js",
  222. "./dist/extension/dataTool.min": "./dist/extension/dataTool.min.js",
  223. "./*": "./*"
  224. },
  225. "__npminstall_done": true,
  226. "_from": "echarts@5.5.1",
  227. "_resolved": "https://registry.npmmirror.com/echarts/-/echarts-5.5.1.tgz"
  228. }