1 | {
|
2 | "name": "zrender",
|
3 | "version": "5.5.0",
|
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 | "lib/all.js"
|
41 | ],
|
42 | "devDependencies": {
|
43 | "@microsoft/api-extractor": "^7.7.2",
|
44 | "@rollup/plugin-node-resolve": "^11.0.0",
|
45 | "@rollup/plugin-replace": "^3.0.0",
|
46 | "@types/jest": "^27.0.2",
|
47 | "@typescript-eslint/eslint-plugin": "^4.33.0",
|
48 | "@typescript-eslint/parser": "^4.33.0",
|
49 | "chalk": "^3.0.0",
|
50 | "commander": "2.11.0",
|
51 | "eslint": "6.3.0",
|
52 | "fs-extra": "4.0.2",
|
53 | "globby": "^11.0.4",
|
54 | "jest": "^27.2.5",
|
55 | "jsdom": "^16.0.0",
|
56 | "rollup": "^1.28.0",
|
57 | "rollup-plugin-typescript2": "^0.25.3",
|
58 | "rollup-plugin-uglify": "^6.0.4",
|
59 | "ts-jest": "^27.0.6",
|
60 | "typescript": "^4.4.3",
|
61 | "uglify-js": "^3.10.0"
|
62 | },
|
63 | "type": "module",
|
64 | "exports": {
|
65 | ".": {
|
66 | "types": "./index.d.ts",
|
67 | "require": "./dist/zrender.js",
|
68 | "import": "./index.js"
|
69 | },
|
70 | "./lib/canvas/canvas": "./lib/canvas/canvas.js",
|
71 | "./lib/svg/svg": "./lib/svg/svg.js",
|
72 | "./lib/vml/vml": "./lib/vml/vml.js",
|
73 | "./lib/canvas/Painter": "./lib/canvas/Painter.js",
|
74 | "./lib/svg/Painter": "./lib/svg/Painter.js",
|
75 | "./lib/svg/patch": "./lib/svg/patch.js",
|
76 | "./lib/Storage": "./lib/Storage.js",
|
77 | "./lib/core/util": "./lib/core/util.js",
|
78 | "./lib/core/env": "./lib/core/env.js",
|
79 | "./lib/core/Transformable": "./lib/core/Transformable.js",
|
80 | "./lib/core/BoundingRect": "./lib/core/BoundingRect.js",
|
81 | "./lib/core/vector": "./lib/core/vector.js",
|
82 | "./lib/core/bbox": "./lib/core/bbox.js",
|
83 | "./lib/contain/polygon": "./lib/contain/polygon.js",
|
84 | "./lib/tool/color": "./lib/tool/color.js",
|
85 | "./lib/graphic/LinearGradient": "./lib/graphic/LinearGradient.js",
|
86 | "./lib/graphic/RadialGradient": "./lib/graphic/RadialGradient.js",
|
87 | "./*": "./*"
|
88 | }
|
89 | } |
\ | No newline at end of file |