package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "echarts",
  3. "version": "5.4.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": "npx -y concurrently -n build,server \"npm run dev:fast\" \"npx -y http-server -c-1 -s -o test\"",
  50. "prepare": "npm run build:lib && husky install",
  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 --cache --cache-location node_modules/.cache/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.4.4"
  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.31.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.33.0",
  82. "@typescript-eslint/parser": "^4.33.0",
  83. "chalk": "^3.0.0",
  84. "commander": "2.11.0",
  85. "dtslint": "^4.0.5",
  86. "esbuild": "^0.8.39",
  87. "eslint": "^7.15.0",
  88. "fs-extra": "^10.0.0",
  89. "globby": "11.0.0",
  90. "husky": "^8.0.3",
  91. "jest": "^26.6.1",
  92. "jest-canvas-mock": "^2.5.0",
  93. "jshint": "2.13.5",
  94. "magic-string": "^0.25.7",
  95. "open": "6.4.0",
  96. "rollup": "2.34.2",
  97. "rollup-plugin-terser": "^7.0.2",
  98. "seedrandom": "3.0.3",
  99. "semver": "6.3.0",
  100. "terser": "^5.16.1",
  101. "ts-jest": "^26.4.3",
  102. "typescript": "4.4.3"
  103. }
  104. }