forked from antvis/GUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
156 lines (156 loc) · 4.21 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
{
"name": "@antv/gui",
"version": "0.3.3",
"description": "UI components for AntV G.",
"license": "MIT",
"main": "lib/index.js",
"module": "esm/index.js",
"unpkg": "dist/gui.min.js",
"types": "lib/index.d.ts",
"files": [
"src",
"lib",
"esm",
"dist"
],
"scripts": {
"start": "gatsby clean && npm run site:develop",
"site:develop": "cross-env PORT=3000 gatsby develop --open -H 0.0.0.0",
"site:clean": "gatsby clean",
"site:build": "npm run site:clean && gatsby build --prefix-paths",
"site:deploy": "npm run build && npm run site:build && gh-pages -d public",
"clean": "rimraf lib esm dist",
"lint-staged": "lint-staged",
"size": "limit-size",
"lint": "eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check ",
"fix": "eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && prettier ./src ./__tests__ --write ",
"coverage": "jest -w 16 --coverage",
"test": "jest",
"test-live": "cross-env DEBUG_MODE=1 jest --watch ./__tests__",
"build": "run-s clean build:* size",
"build:umd": "webpack",
"build:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
"build:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
"ci": "run-s lint coverage build",
"prepublishOnly": "npm run ci",
"prepare": "husky install"
},
"keywords": [
"antv",
"visualization",
"ui",
"GUI"
],
"dependencies": {
"@antv/dom-util": "^2.0.3",
"@antv/matrix-util": "^3.0.4",
"@antv/path-util": "^2.0.15",
"@antv/scale": "^0.4.3",
"@antv/util": "^2.0.13",
"csstype": "^3.0.8",
"fecha": "^4.2.1",
"svg-path-parser": "^1.1.0"
},
"peerDependencies": {
"@antv/g": "^5.0.1"
},
"devDependencies": {
"@antv/g": "^5.0.1",
"@antv/g-canvas": "^1.0.1",
"@antv/g-svg": "^1.0.1",
"@antv/gatsby-theme-antv": "^1.1.8",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/plugin-proposal-decorators": "^7.15.4",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^12.0.1",
"@types/jest": "^26.0.20",
"@types/svg-path-parser": "^1.1.2",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.19.0",
"babel-preset-gatsby": "^1.13.0",
"core-js": "^3.14.0",
"cross-env": "^7.0.3",
"csstype": "^3.0.8",
"dat.gui": "^0.7.7",
"eslint": "^7.22.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"gatsby": "^2.24.63",
"husky": "^5.0.9",
"jest": "^26.6.3",
"jest-electron": "^0.1.11",
"limit-size": "^0.1.4",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-i18next": "^11.7.0",
"regenerator-runtime": "^0.13.7",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.1",
"tslib": "^2.2.0",
"typescript": "^4.3.4",
"ts-loader": "^9.2.6",
"webpack": "^5.64.4",
"webpack-cli": "^4.9.1"
},
"jest": {
"runner": "jest-electron/runner",
"testEnvironment": "jest-electron/environment",
"testTimeout": 30000,
"preset": "ts-jest",
"collectCoverage": true,
"testRegex": "/__tests__/.*-spec\\.ts?$",
"setupFilesAfterEnv": [
"./jest.setup.js"
],
"collectCoverageFrom": [
"src/**/*.ts"
],
"globals": {
"ts-jest": {
"tsConfig": {
"target": "ES2019"
}
}
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"limit-size": [
{
"path": "dist/gui.min.js",
"limit": "128 Kb",
"gzip": true
},
{
"path": "dist/gui.min.js",
"limit": "256 Kb"
}
],
"author": {
"name": "AntV",
"url": "https://antv.vision/"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/gui"
},
"bugs": {
"url": "https://github.com/antvis/gui/issues"
},
"resolutions": {
"monaco-editor": "0.21.3",
"@babel/plugin-transform-spread": "7.12.1",
"@babel/standalone": "7.12.6"
}
}