-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
218 lines (218 loc) · 7.84 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"name": "l7",
"version": "0.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/antvis/L7"
},
"workspaces": [
"packages/*",
"!packages/site",
"dev-demos/*"
],
"scripts": {
"dev": "vite dev",
"dev_build": "vite build",
"dev-dumi": "export NODE_OPTIONS=--openssl-legacy-provider && dumi dev",
"dev-device": "export NODE_OPTIONS=--openssl-legacy-provider renderer=device && dumi dev renderer=device",
"dev_windows": "dumi dev",
"dumi-build": "export NODE_OPTIONS=--openssl-legacy-provider && dumi build",
"dev:ci": "vite dev",
"start": "lerna --scope @antv/l7-site exec yarn run site:develop",
"site:build": "lerna --scope @antv/l7-site exec yarn run site:build",
"site:clean": "lerna --scope @antv/l7-site exec yarn run site:clean",
"site:deploy": "lerna --scope @antv/l7-site exec yarn run site:deploy",
"site:publish": "lerna --scope @antv/l7-site exec yarn run site:publish",
"async-site": "sh ./scripts/site.sh",
"prebuild": "yarn clean && run-p tsc lint",
"build": "lerna run build --ignore @antv/l7-site",
"postbuild": "yarn build:declarations",
"build:declarations": "lerna run tsc --stream --no-bail",
"lint-fix": "prettier --write packages/**/src/**/*.ts packages/site/docs/api/**/*.md packages/site/docs/api/*.md dev-demos/**/**/*.tsx *.md",
"lint:dev-demo": "eslint dev-demos/ --ext .ts,.tsx --fix",
"lint:vite-demo": "eslint examples/ --ext .ts,.tsx --fix",
"lint:src": "eslint packages/ --ext .js,.ts --fix",
"lint:examples": "eslint packages/site/examples packages/site/maptools packages/site/.dumi/pages --fix --ext .js,.tsx",
"lint:css": "stylelint 'packages/**/src/**/*.js{,x}'",
"lint": "run-p -c lint:*",
"commit": "git-cz",
"version": "lerna version --force-publish --conventional-commits --exact --no-changelog",
"version:prerelease": "lerna version --force-publish --exact --conventional-prerelease",
"prerelease": "yarn build",
"release": "lerna publish from-package --ignore @antv/l7-site && yarn sync",
"release-beta": "yarn run prerelease && lerna publish --dist-tag beta from-package --force-publish && yarn sync",
"test": "jest",
"test-cover": "jest --coverage",
"test-cover-viewer": "umi-test --coverage && cd coverage && http-server -p 6001 -o",
"test-live": "umi-test --watch",
"test:e2e": "jest --config ./jest.e2e.config.ts",
"tsc": "tsc",
"bundle-dev": "cross-env BABEL_ENV=bundle yarn rollup -c build/rollup.config.js --environment BUILD:production,MINIFY:false",
"bundle:watch": "cross-env BABEL_ENV=bundle yarn rollup -c build/rollup.config.js --watch",
"glsl-minify": "yarn glsl-minifier -i build/example.frag -o build/example.min.frag",
"worker": "cross-env BABEL_ENV=bundle NODE_ENV=production yarn rollup -c build/rollup.config.worker.js --environment BUILD:production",
"worker:watch": "cross-env BABEL_ENV=bundle NODE_ENV=production yarn rollup -c build/rollup.config.worker.js --environment BUILD:development --watch",
"clean": "lerna run clean --parallel",
"clear-node-modules": "rimraf node_modules && lerna clean -y",
"changelog": "auto-changelog --output CHANGELOG.md",
"translate": "translate -d",
"sync": "lerna run sync --parallel"
},
"husky": {
"hooks": {
"pre-commit": "yarn run prebuild",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"browserslist": [
"last 2 version",
"Firefox ESR"
],
"resolutions": {
"d3-array": "1"
},
"dependencies": {
"babel-polyfill": "^6.26.0"
},
"devDependencies": {
"@anatine/esbuild-decorators": "^0.2.19",
"@antv/g2": "^4.2.8",
"@antv/l7-composite-layers": "^0.15.0",
"@antv/l7-draw": "^3.0.9",
"@antv/l7plot": "^0.x",
"@antv/larkmap": "^1.3.2",
"@antv/translator": "^1.0.1",
"@babel/standalone": "^7.13.15",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^8.1.0",
"@loadable/component": "^5.15.0",
"@material-ui/core": "^4.10.2",
"@rollup/plugin-alias": "2.2.0",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-node-resolve": "^6.0.0",
"@rollup/plugin-typescript": "^11.1.5",
"@swc/core": "^1.3.100",
"@turf/turf": "^6.5.0",
"@types/dat.gui": "^0.7.1",
"@types/gl": "^6.0.4",
"@types/jest": "^29.5.1",
"@types/leaflet": "^1.7.11",
"@types/lodash-es": "^4.17.9",
"@types/node": "13.11.1",
"@types/offscreencanvas": "^2019.7.0",
"@types/pixelmatch": "^5.2.5",
"@types/pngjs": "^6.0.3",
"@types/react-router-dom": "^5.3.2",
"@types/supercluster": "^5.0.1",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@umijs/fabric": "^2.8.1",
"@vitejs/plugin-react": "^4.2.1",
"antd": "^4.12.3",
"async": "^3.2.4",
"auto-changelog": "^2.4.0",
"babel-jest": "^29.7.0",
"babel-plugin-inline-import": "^3.0.0",
"babel-plugin-transform-import-css-l7": "^0.0.6",
"babel-plugin-transform-import-styles": "^0.0.11",
"clean-webpack-plugin": "^3.0.0",
"commitizen": "^4.0.3",
"copy-webpack-plugin": "^11.0.0",
"coveralls": "^3.0.7",
"cross-env": "^7.0.2",
"css-loader": "^6.7.3",
"cz-conventional-changelog": "^3.0.2",
"dat.gui": "^0.7.2",
"district-data": "^0.0.7",
"dumi": "^1.1.0",
"element-remove": "^1.0.4",
"eslint": "^8.54.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-unused-imports": "^3.0.0",
"father": "^4.1.0",
"gcoord": "^0.3.2",
"geobuf": "^3.0.2",
"geojson2svg": "^1.3.3",
"geotiff": "^2.0.1",
"gh-pages": "^2.1.1",
"glsl-minifier": "^0.0.13",
"html-webpack-plugin": "^4.3.0",
"http-server": "^14.1.1",
"husky": "^3.0.9",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.6.2",
"jest-text-transformer": "^1.0.4",
"jsdom": "^22.1.0",
"kdbush": "^4.0.2",
"leaflet": "^1.8.0",
"lerc": "^3.0.0",
"lerna": "^3.16.4",
"less": "^4.1.3",
"lil-gui": "^0.19.1",
"lint-staged": "^9.2.4",
"npm-run-all": "^4.1.5",
"open-cli": "^7.0.1",
"pixelmatch": "5.3.0",
"playwright": "latest",
"pmtiles": "^2.7.2",
"pngjs": "^6.0.0",
"popmotion": "^9.4.2",
"postcss": "^8.4.22",
"postcss-plugin": "^1.0.0",
"postcss-url": "^8.0.0",
"prettier": "^2.7.1",
"raw-loader": "^4.0.1",
"rimraf": "^3.0.2",
"rollup": "^1.27.14",
"rollup-plugin-analyzer": "^3.2.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript": "^1.0.1",
"rollup-pluginutils": "^2.8.2",
"sass": "^1.43.4",
"sass-loader": "^8.0.2",
"shp-write": "^0.3.2",
"stats.js": "^0.17.0",
"style-loader": "^1.0.0",
"styled-components": "^3.4.6",
"stylelint": "^9.5.0",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.3.2",
"svg-inline-loader": "^0.8.0",
"terminate": "latest",
"tokml": "^0.4.0",
"topojson": "^3.0.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"ts-shader-loader": "^1.0.6",
"typescript": "^5.2.2",
"typings-for-css-modules-loader": "^1.7.0",
"vite": "^5.0.9",
"vite-plugin-cp": "^4.0.3",
"vite-plugin-static-copy": "^1.0.0",
"vite-plugin-string": "^1.2.2",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.7",
"webpack-merge": "^4.1.4",
"wellknown": "^0.5.0",
"worker-loader": "^2.0.0",
"yorkie": "^2.0.0"
},
"tnpm": {
"mode": "yarn"
}
}