package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "zrender",
  3. "version": "5.4.4",
  4. "description": "A lightweight graphic library providing 2d draw for Apache ECharts",
  5. "keywords": [
  6. "canvas",
  7. "svg",
  8. "2d",
  9. "html5",
  10. "vector-graphics"
  11. ],
  12. "repository": {
  13. "type": "git",
  14. "url": "https://github.com/ecomfe/zrender.git"
  15. },
  16. "scripts": {
  17. "prepare": "npm run build:lib",
  18. "build": "npm run build:bundle && npm run build:lib",
  19. "release": "node build/build.js --minify && npm run build:lib",
  20. "prepublishOnly": "node build/prepublish.js",
  21. "prepare:nightly": "node build/prepareNightly.js",
  22. "prepare:nightly-next": "node build/prepareNightly.js --next",
  23. "build:bundle": "node build/build.js",
  24. "build:lib": "npx tsc -m ES2015 --outDir lib && node build/processLib.js",
  25. "watch:bundle": "node build/build.js --watch",
  26. "watch:lib": "npx tsc-watch -m ES2015 --outDir lib --synchronousWatchDirectory --onSuccess \"node build/processLib.js\"",
  27. "test": "npx jest --config test/ut/jest.config.js",
  28. "lint": "npx eslint src/**/*.ts"
  29. },
  30. "license": "BSD-3-Clause",
  31. "types": "index.d.ts",
  32. "module": "index.js",
  33. "main": "dist/zrender.js",
  34. "dependencies": {
  35. "tslib": "2.3.0"
  36. },
  37. "sideEffects": [
  38. "lib/canvas/canvas.js",
  39. "lib/svg/svg.js"
  40. ],
  41. "devDependencies": {
  42. "@microsoft/api-extractor": "^7.7.2",
  43. "@rollup/plugin-node-resolve": "^11.0.0",
  44. "@rollup/plugin-replace": "^3.0.0",
  45. "@types/jest": "^27.0.2",
  46. "@typescript-eslint/eslint-plugin": "^4.33.0",
  47. "@typescript-eslint/parser": "^4.33.0",
  48. "chalk": "^3.0.0",
  49. "commander": "2.11.0",
  50. "eslint": "6.3.0",
  51. "fs-extra": "4.0.2",
  52. "globby": "^11.0.4",
  53. "jest": "^27.2.5",
  54. "jsdom": "^16.0.0",
  55. "rollup": "^1.28.0",
  56. "rollup-plugin-typescript2": "^0.25.3",
  57. "rollup-plugin-uglify": "^6.0.4",
  58. "ts-jest": "^27.0.6",
  59. "typescript": "^4.4.3",
  60. "uglify-js": "^3.10.0"
  61. }
  62. }