-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
218 lines (218 loc) · 6.48 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": "@mapcomponents/react-maplibre",
"version": "1.0.8",
"main": "dist/index.cjs.js",
"license": "MIT",
"module": "dist/index.esm.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"scripts": {
"build": "rollup -c",
"start": "storybook dev",
"cypress-test": "npx cypress run --component",
"cypress": "npx cypress open",
"test": "node scripts/test.cjs --watchAll=false --coverage",
"test:noninteractive": "node scripts/test.cjs --verbose --watchAll=false --coverage",
"test:generate-output": "node scripts/test.cjs --watchAll=false --json --outputFile=./src/.jest-test-results.json || true",
"build-storybook": "storybook build -o docs-build",
"storybook-docs": "storybook dev --docs --no-manager-cache",
"build-catalogue-meta": "node scripts/build-catalogue-meta.js",
"create-component": "./scripts/create-map-component.sh"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0",
"@emotion/css": "^11.13.0",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@mapbox/mapbox-gl-draw": "^1.4.3",
"@mapbox/mapbox-gl-sync-move": "^0.3.1",
"@mui/icons-material": "^6.1.1",
"@mui/material": "^6.1.1",
"@tmcw/togeojson": "^5.8.1",
"@reduxjs/toolkit": "^2.0.1",
"@turf/turf": "^6.5.0",
"@types/d3": "^7.4.3",
"@types/react-color": "^3.0.11",
"@types/topojson-client": "^3.1.4",
"@xmldom/xmldom": "^0.8.10",
"csv2geojson": "^5.1.2",
"d3": "^7.8.5",
"jspdf": "^2.5.1",
"maplibre-gl": "^4.5.2",
"osm2geojson-lite": "^0.9.4",
"pako": "^2.1.0",
"react-color": "^2.19.3",
"react-moveable": "^0.56.0",
"three": "^0.161.0",
"react-redux": "^9.1.0",
"redux": "^5.0.1",
"redux-thunk": "^3.1.0",
"topojson-client": "^3.1.0",
"uuid": "^9.0.1",
"wms-capabilities": "^0.6.0"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-react": "^7.23.3",
"@bahmutov/cy-rollup": "^2.0.0",
"@cfaester/enzyme-adapter-react-18": "^0.7.1",
"@cypress/react": "^8.0.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-url": "^8.0.2",
"@storybook/addon-actions": "^7.6.13",
"@storybook/addon-docs": "^7.6.13",
"@storybook/addon-essentials": "^7.6.13",
"@storybook/addon-links": "^7.6.13",
"@storybook/addons": "^7.6.13",
"@storybook/node-logger": "^7.6.13",
"@storybook/react": "^7.6.13",
"@storybook/react-webpack5": "^7.6.13",
"@storybook/testing-react": "^2.0.1",
"@storybook/theming": "^7.6.13",
"@svgr/rollup": "^8.1.0",
"@testing-library/react": "^14.2.1",
"@types/elasticlunr": "^0.9.5",
"@types/enzyme": "^3.10.18",
"@types/expect": "^24.3.0",
"@types/jest": "^29.5.12",
"@types/mapbox__mapbox-gl-draw": "^1.4.6",
"@types/mapbox__point-geometry": "^0.1.4",
"@types/mapbox__vector-tile": "^1.3.4",
"@types/pako": "^2.0.3",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@types/sql.js": "^1.4.9",
"@types/three": "^0.161.2",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"avj": "^0.0.0",
"babel-jest": "^29.7.0",
"babel-plugin-inline-react-svg": "^2.0.2",
"babel-plugin-styled-components": "^2.1.4",
"babel-preset-react-app": "^10.0.1",
"cypress": "^13.6.4",
"elasticlunr": "^0.9.5",
"enzyme": "^3.11.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-storybook": "^0.6.15",
"glob": "^10.3.10",
"jest": "29.7.0",
"jest-circus": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-enzyme": "^7.1.2",
"jest-resolve": "29.7.0",
"jest-watch-typeahead": "2.2.2",
"node-fetch": "^3.3.2",
"postcss": "^8.4.35",
"prettier": "3.2.5",
"react": "^18.2.0",
"react-app-polyfill": "^3.0.0",
"react-dev-utils": "^12.0.1",
"react-dom": "^18.2.0",
"react-draggable": "^4.4.6",
"react-i18next": "^14.0.5",
"rollup": "^4.11.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-import-css": "^3.4.0",
"rollup-plugin-node-externals": "^7.0.1",
"rollup-plugin-typescript2": "^0.36.0",
"showdown": "^2.1.0",
"sql.js": "^1.10.2",
"storybook": "^7.6.13",
"storybook-source-link": "^4.0.1",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"setupFiles": [
"react-app-polyfill/jsdom"
],
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom",
"testRunner": "./node_modules/jest-circus/runner.js",
"transform": {
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js",
"^.+\\.svg$": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
"^maplibre-gl/dist/maplibre-gl$": "<rootDir>/node_modules/maplibre-gl",
"d3": "<rootDir>/node_modules/d3/dist/d3.min.js"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
],
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
],
"resetMocks": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"/src/decorators/",
"/src/lab/",
"/src/stories/",
"/src/ui_components/",
"/src/deckgl_components/",
"/src/components/MlBasicComponent",
"/src/components/MlMapDrawTools",
"/src/components/MlComponentTemplate/",
"/src/components/MlAerialPhotograph/",
"/src/components/MapLibreMapDebug/",
"/src/components/MlDemoDashboard/",
"/src/components/MlLaufwettbewerbApp/",
"/src/components/MlLaermkarte/",
"/src/components/MlMobilerImker/",
"/src/components/MlWanderApp/",
"(.test)\\.(ts|tsx|js)$",
"index\\.js$",
".*/lib/.*",
".*/utils/.*",
".*/util/.*",
".*/assets/.*",
".*/custom.d.tsx",
"custom\\-.*\\-mode\\.js$",
"(.stories)\\.(ts|tsx|js)$",
"/distribution/.*\\.(ts|js)$"
]
},
"resolutions": {
"jackspeak": "2.1.1"
}
}