/
package.json
60 lines (60 loc) · 2.02 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
{
"name": "@ant-design/plots",
"version": "2.2.2",
"description": "G2Plot Statistical chart",
"bugs": {
"url": "https://github.com/ant-design/ant-design-charts/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ant-design/ant-design-charts.git"
},
"main": "lib/index.js",
"unpkg": "dist/plots.min.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"files": [
"/lib",
"/es",
"/dist"
],
"scripts": {
"start": "pnpm lib:es --w",
"build": "run-s clean lib dist",
"build:lib": "run-s clean lib",
"ci": "pnpm run build && pnpm run test:coverage",
"clean": "rimraf lib es dist",
"dist": "webpack --config webpack.config.js --mode production",
"profile": "webpack --config webpack.config.js --mode production --profile --json > stats.json",
"lib": "run-p lib:*",
"lib:cjs": "tsc -p tsconfig.prod.json --target ES5 --module commonjs --outDir lib",
"lib:es": "tsc -p tsconfig.prod.json --target ES5 --module ESNext --outDir es",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix --format=pretty ./src && pnpm run lint:prettier",
"lint:prettier": "pnpm run prettier && git diff && prettier --version && prettier --check \"src/**/**.{js,jsx,tsx,ts,less,md,json}\" --end-of-line auto",
"prettier": "prettier --write \"**/**.{js,jsx,tsx,ts,less,md,json}\"",
"test": "jest",
"test:live": "DEBUG_MODE=1 jest --watch ./tests/plots/column-proxy-spec.tsx --no-cache"
},
"dependencies": {
"@ant-design/charts-util": "workspace:*",
"@antv/event-emitter": "^0.1.3",
"@antv/g": "^6.0.0",
"@antv/g2": "^5.1.18",
"@antv/g2-extension-plot": "^0.2.0"
},
"peerDependencies": {
"lodash-es": "^4.17.21",
"react": ">=16.8.4",
"react-dom": ">=16.8.4"
},
"sideEffects": false,
"license": "MIT",
"devDependencies": {
"@types/jest": "^26.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.6",
"npm-run-all": "^4.1.5",
"react-test-renderer": "^18.0.0",
"rimraf": "^3.0.2"
}
}