forked from ant-design/ant-design-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 3.51 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
{
"name": "@ant-design/charts",
"version": "1.2.5",
"description": "React translate g2plot",
"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/charts.min.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"files": [
"/lib",
"/es",
"/dist"
],
"scripts": {
"build": "run-s clean lib dist",
"ci": "npm run build && npm run test:coverage",
"clean": "rimraf lib es dist",
"chart": "node ./scripts/chart.js",
"deploy": "gh-pages -d dist",
"dev": "dumi dev",
"dist": "webpack --config webpack.config.js --mode production",
"profile": "webpack --config webpack.config.js --mode production --profile --json > stats.json",
"docs:build": "dumi build",
"lib": "run-p lib:*",
"lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
"lib:es": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir es",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix --format=pretty ./src && npm run lint:prettier",
"lint:prettier": "npm 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}\"",
"pub": "npm run build && np",
"start": "npm run dev",
"test": "umi-test",
"test:coverage": "umi-test --coverage"
},
"dependencies": {
"@antv/g2plot": "^2.2.11",
"@antv/g6": "^4.2.4",
"@antv/util": "^2.0.9",
"react-content-loader": "^5.0.4"
},
"devDependencies": {
"@antv/data-set": "^0.11.7",
"@babel/core": "^7.11.6",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.13.9",
"@babel/preset-react": "^7.12.1",
"@babel/preset-typescript": "^7.10.4",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^11.1.0",
"@testing-library/react-hooks": "^3.7.0",
"@types/enzyme": "^3.10.5",
"@types/node": "^14.0.10",
"@types/webpack-env": "^1.14.1",
"@umijs/fabric": "^2.0.7",
"@umijs/preset-react": "^1.4.8",
"@umijs/test": "^3.0.16",
"babel-loader": "^8.2.2",
"babel-plugin-named-asset-import": "^0.3.7",
"babel-preset-react-app": "^10.0.0",
"chalk": "^4.1.0",
"dumi": "^1.1.14",
"dumi-theme-default": "^1.0.14",
"ejs": "^3.0.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"escodegen": "^2.0.0",
"esprima": "^4.0.1",
"estraverse": "^5.1.0",
"fork-ts-checker-webpack-plugin": "^5.2.1",
"gh-pages": "^3.0.0",
"jest-canvas-mock": "^2.2.0",
"loadsh": "^0.0.4",
"lodash": "^4.17.20",
"np": "*",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.2",
"pretty-quick": "^3.0.1",
"react-dev-utils": "^11.0.0",
"react-test-renderer": "^17.0.1",
"rimraf": "^3.0.2",
"shelljs": "^0.8.3",
"ts-loader": "^8.0.7",
"typescript": "^4.0.3",
"webpack": "^4.42.0",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3",
"whatwg-fetch": "^3.0.0",
"yorkie": "^2.0.0"
},
"peerDependencies": {
"react": ">=16.8.4",
"react-dom": ">=16.8.4"
},
"publishConfig": {
"access": "public"
},
"gitHooks": {
"pre-commit": "pretty-quick --staged"
},
"np": {
"yarn": false,
"contents": "dist"
},
"sideEffects": false,
"license": "MIT"
}