forked from antvis/G2Plot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
160 lines (160 loc) · 4.67 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
{
"name": "@antv/g2plot",
"version": "2.3.28",
"description": "An interactive and responsive charting library",
"keywords": [
"chart",
"plot",
"antv"
],
"author": "https://github.com/orgs/antvis/people",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"unpkg": "dist/g2plot.min.js",
"files": [
"lib",
"esm",
"dist",
"src"
],
"homepage": "https://g2plot.antv.vision",
"repository": {
"type": "git",
"url": "https://github.com/antvis/g2plot"
},
"scripts": {
"start": "npm run site:clean && npm run site:develop",
"site:develop": "cross-env PORT=8080 gatsby develop --open -H 0.0.0.0",
"site:build": "npm run site:clean && gatsby build --prefix-paths",
"site:clean": "gatsby clean",
"site:deploy": "npm run build && npm run site:build && gh-pages -d public",
"fix": "eslint --ext .ts ./src ./__tests__ --fix && prettier --write ./src ./__tests__ && lint-md --fix ./examples ./docs",
"build": "run-s clean lib dist size",
"size": "limit-size",
"clean": "rimraf lib esm dist",
"lib": "run-p lib:*",
"lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
"lib:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
"dist": "webpack --config webpack.config.js --mode production",
"lint": "eslint --ext .ts ./src ./__tests__ && prettier --check ./src ./__tests__ && lint-md ./examples ./docs",
"lint-staged": "lint-staged",
"test": "jest",
"test-live": "cross-env DEBUG_MODE=1 jest --watch ./__tests__",
"coverage": "jest -w 16 --coverage",
"ci": "run-s lint coverage build",
"changelog": "generate-changelog",
"prepublishOnly": "run-s lint test build",
"analyze": "webpack --profile --json > dist/stats.json && webpack-bundle-analyzer ./dist/stats.json",
"contributors:add": "all-contributors add"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {
"@antv/event-emitter": "^0.1.2",
"@antv/g2": "^4.1.19",
"d3-hierarchy": "^2.0.0",
"d3-regression": "^1.3.5",
"pdfast": "^0.2.0",
"size-sensor": "^1.0.1",
"tslib": "^2.0.3"
},
"devDependencies": {
"@antv/data-set": "^0.11.5",
"@antv/gatsby-theme-antv": "1.1.6-beta.6",
"@babel/core": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.10.4",
"@babel/runtime": "^7.11.2",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-angular": "^8.2.0",
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"all-contributors-cli": "^6.20.0",
"antd": "^4.8.4",
"babel-loader": "^8.1.0",
"chroma-js": "^2.1.2",
"conventional-changelog-cli": "^2.0.34",
"cross-env": "^7.0.2",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.0",
"gatsby": "^2.24.63",
"generate-changelog": "^1.8.0",
"gh-pages": "^3.1.0",
"husky": "^4.2.3",
"jest": "^26.0.1",
"jest-electron": "^0.1.7",
"jest-extended": "^0.11.2",
"jest-matcher-deep-close-to": "^2.0.1",
"limit-size": "^0.1.3",
"lint-md-cli": "^0.1.2",
"lint-staged": "^10.0.7",
"miz": "^1.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.1",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-i18next": "^11.7.0",
"rimraf": "^3.0.0",
"ts-jest": "^25.4.0",
"ts-loader": "^7.0.0",
"typescript": "^3.5.3",
"webpack": "^4.44.2",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.7",
"webpack-dev-server": "^3.9.0"
},
"jest": {
"runner": "jest-electron/runner",
"testEnvironment": "jest-electron/environment",
"testTimeout": 30000,
"setupFilesAfterEnv": [
"jest-extended",
"./jest.setup.js"
],
"preset": "ts-jest",
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.ts",
"!**/node_modules/**",
"!**/vendor/**",
"!**/_template/**",
"!**/interactions/**"
],
"testRegex": "/__tests__/.*-spec\\.ts?$"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.md": [
"lint-md --fix"
]
},
"limit-size": [
{
"path": "dist/g2plot.min.js",
"limit": "950 Kb"
},
{
"path": "dist/g2plot.min.js",
"limit": "260 Kb",
"gzip": true
}
],
"license": "MIT",
"resolutions": {
"monaco-editor": "0.21.3",
"@babel/plugin-transform-spread": "7.12.1",
"@babel/standalone": "7.12.6",
"d3-array": "2.12.1"
}
}