package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "zrender",
  3. "version": "5.2.1",
  4. "description": "A lightweight canvas library.",
  5. "keywords": [
  6. "canvas",
  7. "2d"
  8. ],
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/ecomfe/zrender.git"
  12. },
  13. "scripts": {
  14. "prepublish": "npm run release",
  15. "build": "npm run build:bundle && npm run build:lib",
  16. "release": "node build/build.js --minify && npm run build:lib",
  17. "prepare:nightly": "node build/prepareNightly.js",
  18. "prepare:nightly-next": "node build/prepareNightly.js --next",
  19. "build:bundle": "node build/build.js",
  20. "build:lib": "npx tsc -m ES2015 --outDir lib",
  21. "watch:bundle": "node build/build.js --watch",
  22. "watch:lib": "npx tsc -w -m ES2015 --outDir lib",
  23. "test": "npx jest --config test/ut/jest.config.js",
  24. "lint": "npx eslint src/**/*.ts"
  25. },
  26. "license": "BSD-3-Clause",
  27. "types": "index.d.ts",
  28. "module": "index.js",
  29. "main": "dist/zrender.js",
  30. "dependencies": {
  31. "tslib": "2.3.0"
  32. },
  33. "sideEffects": [
  34. "lib/canvas/canvas.js",
  35. "lib/svg/svg.js"
  36. ],
  37. "devDependencies": {
  38. "@microsoft/api-extractor": "^7.7.2",
  39. "@types/jest": "^25.1.2",
  40. "@typescript-eslint/eslint-plugin": "^4.9.1",
  41. "@typescript-eslint/parser": "^4.9.1",
  42. "chalk": "^3.0.0",
  43. "commander": "2.11.0",
  44. "eslint": "6.3.0",
  45. "fs-extra": "4.0.2",
  46. "jest": "^25.1.0",
  47. "jsdom": "^16.0.0",
  48. "rollup": "^1.28.0",
  49. "rollup-plugin-typescript2": "^0.25.3",
  50. "rollup-plugin-uglify": "^6.0.4",
  51. "ts-jest": "^25.2.0",
  52. "typescript": "4.3.5",
  53. "uglify-js": "^3.10.0"
  54. }
  55. }