-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
185 lines (185 loc) · 5.36 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"name": "@antv/g2",
"version": "5.1.6",
"description": "the Grammar of Graphics in Javascript",
"license": "MIT",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./esm/index.js",
"require": "./lib/index.js"
}
},
"sideEffects": [
"./esm/exports.js"
],
"files": [
"src",
"lib",
"esm",
"dist"
],
"scripts": {
"dev": "vite",
"dev:link": "cross-env LINK=1 vite",
"clean": "rimraf lib esm dist",
"lint-staged": "lint-staged",
"size": "limit-size",
"lint": "eslint ./src ./__tests__ && prettier ./src ./__tests__ --check ",
"fix": "eslint ./src ./__tests__ --fix && prettier ./src ./__tests__ --write ",
"test": "node --expose-gc --max-old-space-size=4096 --unhandled-rejections=strict node_modules/jest/bin/jest __tests__/ --coverage -i --logHeapUsage",
"test:unit": "node --expose-gc --max-old-space-size=4096 --unhandled-rejections=strict node_modules/jest/bin/jest __tests__/unit/ --coverage -i --logHeapUsage",
"test:integration": "node --expose-gc --max-old-space-size=4096 --unhandled-rejections=strict node_modules/jest/bin/jest __tests__/integration/ --coverage -i --logHeapUsage",
"preview": "vite preview",
"build:umd": "rimraf ./dist && node --expose-gc --max-old-space-size=4096 node_modules/rollup/dist/bin/rollup -c && npm run size",
"build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib",
"build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm",
"build": "run-p build:*",
"bundle-vis": "cross-env BUNDLE_VIS=1 run-p build:umd",
"ci": "run-s lint test build",
"prepublishOnly": "npm run ci",
"prepare": "husky install",
"upload": "node scripts/upload/snapshot.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"translate": "translate -d"
},
"keywords": [
"antv",
"g2",
"visualization",
"chart",
"grammar",
"graphics",
"interaction",
"animation"
],
"dependencies": {
"@antv/ava": "^3.0.7",
"@antv/coord": "^0.4.1",
"@antv/event-emitter": "^0.1.3",
"@antv/g": "^5.18.6",
"@antv/g-canvas": "^1.11.5",
"@antv/g-plugin-3d": "^1.9.14",
"@antv/g-plugin-dragndrop": "^1.8.3",
"@antv/component": "^1.0.0-beta.1",
"@antv/path-util": "^3.0.1",
"@antv/scale": "^0.4.7",
"@antv/util": "^3.3.2",
"d3-array": "^3.2.2",
"d3-dsv": "^3.0.1",
"d3-force": "^3.0.0",
"d3-format": "^3.1.0",
"d3-geo": "^3.0.1",
"d3-hierarchy": "^3.1.2",
"d3-path": "^3.1.0",
"d3-scale-chromatic": "^3.0.0",
"d3-shape": "^3.1.0",
"d3-voronoi": "^1.1.4",
"flru": "^1.0.2",
"fmin": "^0.0.2",
"pdfast": "^0.2.0"
},
"devDependencies": {
"@antv/data-set": "^0.11.8",
"@antv/g-plugin-3d": "^1.9.5",
"@antv/g-plugin-control": "^1.9.5",
"@antv/g-plugin-rough-canvas-renderer": "^1.7.9",
"@antv/g-plugin-rough-svg-renderer": "^1.7.9",
"@antv/translator": "^1.0.0",
"@antv/g-svg": "^1.10.7",
"@antv/g-webgl": "^1.9.8",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^17.4.4",
"@optimize-lodash/rollup-plugin": "^4.0.3",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-terser": "^0.4.3",
"@types/d3-array": "3.0.5",
"@types/d3-path": "^3.0.0",
"@types/d3-shape": "^3.0.2",
"@types/jest": "^26.0.20",
"@types/pixelmatch": "^5.2.4",
"@types/pngjs": "^6.0.1",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"ali-oss": "^6.17.1",
"archiver": "^5.3.1",
"canvas": "2.11.0",
"conventional-changelog-cli": "^2.2.2",
"cross-env": "^7.0.3",
"d3-dsv": "^3.0.1",
"d3-fetch": "^3.0.1",
"d3-geo-projection": "^4.0.0",
"d3-hierarchy": "^3.1.2",
"d3-interpolate": "^3.0.1",
"d3-random": "^3.0.1",
"d3-regression": "^1.3.10",
"eslint": "^7.22.0",
"eslint-plugin-import": "^2.22.1",
"fecha": "^4.2.3",
"husky": "^7.0.0",
"jest": "^26.0.1",
"jsdom": "^19.0.0",
"limit-size": "^0.1.4",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"pixelmatch": "5.3.0",
"pngjs": "^6.0.0",
"prettier": "^2.2.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rollup": "^2.39.0",
"rollup-plugin-polyfill-node": "^0.8.0",
"rollup-plugin-typescript2": "^0.35.0",
"rollup-plugin-visualizer": "^5.9.2",
"topojson": "^3.0.2",
"ts-jest": "^26.5.1",
"typescript": "^4.1.5",
"vite": "^3.1.0",
"xmlserializer": "^0.6.1"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"limit-size": [
{
"path": "dist/g2.min.js",
"limit": "280 Kb",
"gzip": true
},
{
"path": "dist/g2.min.js",
"limit": "950 Kb",
"gzip": false
},
{
"path": "dist/g2.lite.min.js",
"limit": "240 Kb",
"gzip": true
},
{
"path": "dist/g2.full.min.js",
"limit": "350 Kb",
"gzip": true
}
],
"author": {
"name": "AntV",
"url": "https://antv.antgroup.com/"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/g2"
},
"bugs": {
"url": "https://github.com/antvis/g2/issues"
}
}