package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "zrender",
  3. "version": "5.3.2",
  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. "prepublish": "npm run release",
  18. "build": "npm run build:bundle && npm run build:lib",
  19. "release": "node build/build.js --minify && npm run build:lib",
  20. "prepare:nightly": "node build/prepareNightly.js",
  21. "prepare:nightly-next": "node build/prepareNightly.js --next",
  22. "build:bundle": "node build/build.js",
  23. "build:lib": "npx tsc -m ES2015 --outDir lib && node build/processLib.js",
  24. "watch:bundle": "node build/build.js --watch",
  25. "watch:lib": "npx tsc-watch -m ES2015 --outDir lib --synchronousWatchDirectory --onSuccess \"node build/processLib.js\"",
  26. "test": "npx jest --config test/ut/jest.config.js",
  27. "lint": "npx eslint src/**/*.ts"
  28. },
  29. "license": "BSD-3-Clause",
  30. "types": "index.d.ts",
  31. "module": "index.js",
  32. "main": "dist/zrender.js",
  33. "dependencies": {
  34. "tslib": "2.3.0"
  35. },
  36. "sideEffects": [
  37. "lib/canvas/canvas.js",
  38. "lib/svg/svg.js"
  39. ],
  40. "devDependencies": {
  41. "@microsoft/api-extractor": "^7.7.2",
  42. "@rollup/plugin-node-resolve": "^11.0.0",
  43. "@rollup/plugin-replace": "^3.0.0",
  44. "@types/jest": "^27.0.2",
  45. "@typescript-eslint/eslint-plugin": "^4.9.1",
  46. "@typescript-eslint/parser": "^4.9.1",
  47. "chalk": "^3.0.0",
  48. "commander": "2.11.0",
  49. "eslint": "6.3.0",
  50. "fs-extra": "4.0.2",
  51. "globby": "^11.0.4",
  52. "jest": "^27.2.5",
  53. "jsdom": "^16.0.0",
  54. "rollup": "^1.28.0",
  55. "rollup-plugin-typescript2": "^0.25.3",
  56. "rollup-plugin-uglify": "^6.0.4",
  57. "ts-jest": "^27.0.6",
  58. "typescript": "^4.4.3",
  59. "uglify-js": "^3.10.0"
  60. }
  61. }