-
Notifications
You must be signed in to change notification settings - Fork 635
/
package.json
131 lines (131 loc) · 4.07 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
{
"name": "l7-monorepo",
"private": true,
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/antvis/L7"
},
"scripts": {
"prepare": "husky",
"dev": "vite dev --host",
"site:dev": "pnpm --filter @antv/l7-site site:dev",
"site:build": "pnpm --filter @antv/l7-site site:build",
"site:deploy": "pnpm --filter @antv/l7-site site:deploy",
"site:publish": "pnpm --filter @antv/l7-site site:publish",
"check-deps": "pnpm --parallel -r check-deps",
"check-format": "./scripts/format-check.sh",
"format": "./scripts/format-fix.sh",
"lint:ts": "./scripts/eslint-lint.sh",
"lint:ts-fix": "/scripts/eslint-fix.sh",
"lint:css": "stylelint 'packages/**/*.{css,less}'",
"lint:css-fix": "stylelint --fix 'packages/**/*.{css,less}'",
"test": "run-p test:unit test:integration",
"test:unit": "jest --config ./jest.config.ts",
"test-cover": "jest --config ./jest.config.ts --coverage",
"test:integration": "jest --config ./jest.e2e.config.ts",
"test:size": "pnpm --filter @antv/l7 build && limit-size",
"clean-dist": "pnpm --parallel -r --filter !@antv/l7-site clean",
"clean-deps": "./scripts/clean-deps.sh",
"build": "pnpm --parallel -r --filter !@antv/l7-site build",
"changeset": "changeset add",
"publish-version": "changeset version",
"publish-packages": "pnpm build && pnpm limit-size && changeset publish",
"intranet-sync": "./scripts/intranet-sync.sh"
},
"lint-staged": {
"*.md": [
"case-police --fix"
],
"*.{css,less}": [],
"*.{ts,tsx,js,jsx,json,md,css,less}": [
"prettier --write"
],
"*.{js,jsx,tsx,ts}": [
"eslint --fix"
]
},
"limit-size": [
{
"path": "packages/l7/dist/l7.js",
"limit": "1.7 Mb"
}
],
"engines": {
"node": ">=18",
"pnpm": ">=8"
},
"dependencies": {
"@antv/g-device-api": "^1.6.4",
"@turf/turf": "^6.5.0",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.23",
"@types/stats.js": "^0.17.3",
"antd": "^5.16.0",
"geotiff": "^2.0.1",
"kdbush": "^4.0.2",
"lil-gui": "^0.19.1",
"maplibre-gl": "^3.5.2",
"pmtiles": "^2.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"stats.js": "^0.17.0",
"three": "0.115.0"
},
"devDependencies": {
"@antv/translator": "^1.0.1",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@types/jest": "^29.5.1",
"@types/offscreencanvas": "^2019.7.0",
"@types/pixelmatch": "^5.2.5",
"@types/pngjs": "^6.0.3",
"@vitejs/plugin-react": "^4.2.1",
"babel-plugin-inline-import": "^3.0.0",
"babel-plugin-transform-import-css-l7": "^0.0.6",
"case-police": "^0.6.1",
"cross-env": "^7.0.2",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"father": "^4.1.0",
"globals": "^14.0.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.6.2",
"jest-environment-node": "^29.7.0",
"jest-text-transformer": "^1.0.4",
"jsdom": "^22.1.0",
"limit-size": "^0.1.4",
"lint-staged": "^15.2.2",
"npm-run-all": "^4.1.5",
"pixelmatch": "5.3.0",
"playwright": "latest",
"pngjs": "^6.0.0",
"portfinder": "^1.0.32",
"postcss-less": "^6.0.0",
"prettier": "^3.2.5",
"prettier-plugin-glsl": "^0.1.3",
"prettier-plugin-organize-imports": "^3.2.4",
"rimraf": "^3.0.2",
"stylelint": "^16.3.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
"terminate": "latest",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"typescript-eslint": "^7.3.1",
"vite": "^5.0.9",
"vite-plugin-cp": "^4.0.8",
"vite-plugin-string": "^1.2.2",
"webpack-bundle-analyzer": "^4.10.1"
}
}