-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
253 lines (253 loc) · 8.42 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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
{
"name": "react-map-components-maplibre-lab",
"version": "0.1.0",
"private": true,
"module": "dist/index.esm.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"scripts": {
"build": "rollup -c",
"start": "start-storybook -p 6006 -s public",
"cypress-test": "npx cypress run --component",
"test": "node scripts/test.js --env=jest-environment-jsdom-sixteen --watchAll=false --coverage",
"test:noninteractive": "node scripts/test.js --env=jest-environment-jsdom-sixteen --verbose --watchAll=false --coverage",
"test:generate-output": "node scripts/test.js --env=jest-environment-jsdom-sixteen --watchAll=false --json --outputFile=./src/.jest-test-results.json || true",
"build-storybook": "build-storybook -o docs-build -s public",
"storybook-docs": "start-storybook --docs --no-manager-cache",
"build-catalogue-meta": "node scripts/build-catalogue-meta.js",
"build-catalogue-markdown-docs": "node scripts/build-catalogue-markdown-docs.js",
"create-component": "./scripts/create-map-component.sh"
},
"dependencies": {
"@emotion/css": "11.10.5",
"@fontsource/material-icons": "^4.5.4",
"mui-color": "^2.0.0-beta.2",
"react-draggable": "^4.4.5",
"react-moveable": "^0.45.1",
"storybook-source-link": "^2.0.4",
"wms-capabilities": "^0.6.0",
"@deck.gl/aggregation-layers": "^8.8.20",
"@deck.gl/core": "^8.8.20",
"@deck.gl/extensions": "^8.8.20",
"@deck.gl/geo-layers": "^8.8.20",
"@deck.gl/layers": "^8.8.20",
"@deck.gl/mapbox": "^8.8.20",
"@deck.gl/mesh-layers": "^8.8.20",
"elasticlunr": "^0.9.5",
"@emotion/babel-preset-css-prop": "^11.2.0",
"@emotion/react": "11.10.5",
"@emotion/styled": "11.10.5",
"@fontsource/roboto": "^4.5.8",
"@mapbox/mapbox-gl-draw": "^1.2.0",
"@mapbox/mapbox-gl-sync-move": "^0.3.0",
"@mapcomponents/react-maplibre": "^0.1.87",
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.11.3",
"@mui/icons-material": "5.11.0",
"@mui/material": "5.11.6",
"@mui/styles": "^5.13.2",
"@nivo/core": "^0.69.0",
"@nivo/line": "^0.69.1",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@turf/turf": "^6.5.0",
"autosizer": "^1.3.3",
"bootstrap": "^4.6.0",
"classnames": "^2.3.2",
"chartist": "^1.3.0",
"d3": "^7.8.2",
"i18next": "^21.0.2",
"jspdf": "^2.5.1",
"maplibre-gl": "^2.4.0",
"react": "^18.2.0",
"react-bootstrap": "^1.4.3",
"react-chartist": "^0.14.4",
"react-dom": "^18.2.0",
"react-i18next": "^12.1.4",
"react-palm": "^3.3.7",
"react-router": "^5.2.0",
"react-router-redux": "^4.0.8",
"react-scripts": "5.0.1",
"react-spinners": "^0.10.6",
"react-virtualized": "^9.22.3",
"redux": "^4.0.5",
"styled-components": "^5.2.1",
"three": "^0.149.0",
"typeface-muli": "^1.1.13",
"uuid": "^9.0.0",
"web-vitals": "^0.2.4",
"xmldom": "^0.5.0"
},
"peerDependencies": {},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/plugin-external-helpers": "^7.16.0",
"@babel/plugin-syntax-jsx": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@rollup/plugin-json": "^4.1.0",
"@storybook/preset-create-react-app": "^3.2.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/user-event": "^12.1.10",
"better-docs": "^2.3.2",
"canvas": "^2.11.2",
"http-server": "^13.0.2",
"react-test-renderer": "^17.0.2",
"@babel/preset-react": "^7.18.6",
"@bahmutov/cy-rollup": "^2.0.0",
"@cypress/react": "^7.0.2",
"@cypress/webpack-preprocessor": "^5.16.1",
"@rollup/plugin-alias": "^4.0.3",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-url": "^8.0.1",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-docs": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@storybook/addon-storysource": "^6.5.16",
"@storybook/addons": "^6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/node-logger": "^6.5.16",
"@storybook/react": "^6.5.16",
"@storybook/testing-react": "^1.3.0",
"@storybook/theming": "^6.5.16",
"@svgr/rollup": "^6.5.1",
"@testing-library/react": "^11.1.0",
"@types/enzyme": "^3.10.12",
"@types/expect": "^24.3.0",
"@types/jest": "^29.4.0",
"@types/mapbox__mapbox-gl-draw": "^1.3.3",
"@types/mapbox__point-geometry": "^0.1.2",
"@types/mapbox__vector-tile": "^1.3.0",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@types/three": "^0.148.1",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"avj": "^0.0.0",
"babel-jest": "^26.6.0",
"babel-plugin-inline-react-svg": "^2.0.1",
"babel-plugin-styled-components": "^2.0.7",
"babel-preset-react-app": "^10.0.1",
"cypress": "^12.4.1",
"@types/elasticlunr": "^0.9.8",
"enzyme": "^3.11.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-react": "^7.32.1",
"glob": "^8.1.0",
"jest": "26.6.0",
"jest-circus": "26.6.0",
"jest-environment-jsdom-sixteen": "^2.0.0",
"jest-enzyme": "^7.1.2",
"jest-resolve": "26.6.0",
"jest-watch-typeahead": "0.6.1",
"node-fetch": "^3.3.0",
"postcss": "^8.4.21",
"prettier": "2.8.3",
"react": "^18.2.0",
"react-app-polyfill": "^3.0.0",
"react-dev-utils": "^12.0.1",
"react-dom": "^18.2.0",
"rollup": "^2.70.1",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-import-css": "^3.0.3",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"showdown": "^2.1.0",
"ts-jest": "^29.0.5",
"typedoc": "^0.23.24",
"typedoc-plugin-missing-exports": "^1.0.0",
"typedoc-twilio-theme": "^1.0.1",
"typescript": "^4.9.4",
"webpack-merge": "^5.8.0"
},
"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"
},
"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$": "<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/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)$"
]
}
}