package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "echarts",
  3. "version": "5.3.3",
  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. "dev:fast": "node build/build-i18n.js && node build/dev-fast.js",
  49. "dev": "npm run dev:fast",
  50. "prepublish": "npm run build:lib",
  51. "release": "npm run build:lib && npm run build:i18n && npm run build && npm run build:esm && npm run build:extension",
  52. "help": "node build/build.js --help",
  53. "test:visual": "node test/runTest/server.js",
  54. "test": "npx jest --config test/ut/jest.config.js",
  55. "test:single": "npx jest --config test/ut/jest.config.js --coverage=false -t",
  56. "test:single:debug": "npx --node-arg=--inspect-brk jest --runInBand --config test/ut/jest.config.js --coverage=false -t",
  57. "test:dts": "node build/testDts.js",
  58. "mktest": "node test/build/mktest.js",
  59. "mktest:help": "node test/build/mktest.js -h",
  60. "checktype": "tsc --noEmit",
  61. "lint": "npx eslint src/**/*.ts extension-src/**/*.ts",
  62. "lint:fix": "npx eslint --fix src/**/*.ts extension-src/**/*.ts",
  63. "lint:dist": "echo 'It might take a while. Please wait ...' && npx jshint --config .jshintrc-dist dist/echarts.js"
  64. },
  65. "dependencies": {
  66. "tslib": "2.3.0",
  67. "zrender": "5.3.2"
  68. },
  69. "devDependencies": {
  70. "@babel/code-frame": "7.10.4",
  71. "@babel/core": "7.3.4",
  72. "@babel/types": "7.10.5",
  73. "@definitelytyped/typescript-versions": "0.0.64",
  74. "@definitelytyped/utils": "0.0.64",
  75. "@lang/rollup-plugin-dts": "2.0.2",
  76. "@microsoft/api-extractor": "7.7.2",
  77. "@rollup/plugin-commonjs": "^17.0.0",
  78. "@rollup/plugin-node-resolve": "^11.0.0",
  79. "@rollup/plugin-replace": "^2.3.4",
  80. "@types/jest": "^26.0.14",
  81. "@typescript-eslint/eslint-plugin": "^4.29.2",
  82. "@typescript-eslint/parser": "^4.9.1",
  83. "chalk": "^3.0.0",
  84. "commander": "2.11.0",
  85. "cwebp-bin": "^6.1.1",
  86. "dtslint": "^4.0.5",
  87. "esbuild": "^0.8.39",
  88. "eslint": "^7.15.0",
  89. "fs-extra": "^10.0.0",
  90. "glob": "7.0.0",
  91. "globby": "11.0.0",
  92. "husky": "^4.2.5",
  93. "jest": "^26.6.1",
  94. "jest-canvas-mock": "^2.2.0",
  95. "jshint": "2.10.2",
  96. "magic-string": "^0.25.7",
  97. "open": "6.4.0",
  98. "pixelmatch": "5.0.2",
  99. "pngjs": "3.4.0",
  100. "rollup": "2.34.2",
  101. "rollup-plugin-terser": "^7.0.2",
  102. "seedrandom": "3.0.3",
  103. "semver": "6.3.0",
  104. "serve-handler": "6.1.1",
  105. "slugify": "1.3.4",
  106. "socket.io": "2.2.0",
  107. "terser": "^5.3.8",
  108. "ts-jest": "^26.4.3",
  109. "typescript": "4.4.3"
  110. }
  111. }