-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
204 lines (204 loc) · 8.33 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
{
"name": "wheelmap-react",
"displayName": "Wheelmap",
"version": "4.123.1",
"homepage": "https://wheelmap.org",
"repository": "https://github.com/sozialhelden/wheelmap-react-frontend",
"main": "lib/App.js",
"license": "MIT",
"dependencies": {
"@babel/runtime-corejs3": "^7.12.1",
"@elastic/apm-rum": "^4.9.1",
"@sozialhelden/a11yjson": "^20.3.0",
"@sozialhelden/ietf-language-tags": "^5.4.2",
"@sozialhelden/twelve-factor-dotenv": "^18.0.0",
"@turf/turf": "^6.5.0",
"@types/chai": "^4.2.5",
"@wdio/browserstack-service": "^9.1.0",
"@wdio/cli": "^9.1.0",
"@wdio/local-runner": "^9.1.0",
"@wdio/mocha-framework": "^8.0.0",
"abort-controller": "^3.0.0",
"acorn-dynamic-import": "^4.0.0",
"async_hooks": "^1.0.0",
"babel-plugin-ttag": "^1.8.15",
"browser-image-resizer": "^1.2.0",
"browserstack-local": "^1.4.8",
"caniuse-lite": "^1.0.30001565",
"classnames": "^2.2.6",
"compression": "^1.7.3",
"core-js": "^3.23.3",
"cors": "^2.8.1",
"d3-color": "^3.1.0",
"d3-interpolate": "^3.0.0",
"d3-scale": "^4.0.0",
"dotenv": "^4.0.0",
"ejson": "^2.1.2",
"es6-set": "^0.1.5",
"es6-symbol": "^3.1.1",
"eslint-plugin-wdio": "^7.25.3",
"eslint-plugin-webdriverio": "^1.0.1",
"event-stream": "^4.0.1",
"expect": "^26.6.2",
"expect-webdriverio": "^5.0.2",
"express": "^4.21.1",
"express-cache-headers": "^0.1.4",
"fast-levenshtein": "^2.0.6",
"focus-trap-react": "^8.11.1",
"focus-visible": "^5.0.1",
"focus-within": "^2.0.0",
"fs-extra": "3.0.1",
"full-icu": "^1.3.0",
"geojson": "^0.5.0",
"gettext-parser": "^1.3.0",
"glob": "^5.0.15",
"http-proxy-middleware": "^2.0.7",
"https-proxy-agent": "^3.0.0",
"humanize-string": "^2.1.0",
"immutable": "^3.8.1",
"intersperse": "^1.0.0",
"is-url": "^1.2.4",
"isomorphic-unfetch": "^2.1.1",
"js-base64": "^3.6.1",
"json-criteria": "^2.6.0",
"leaflet": "^1.0.3",
"leaflet-tilelayer-geojson": "^1.0.4",
"leaflet.markercluster": "^1.0.4",
"local-storage-fallback": "^4.1.3",
"lodash": "^4.17.21",
"mapbox-gl": "^2.2.0",
"mapbox-gl-leaflet": "0.0.14",
"marked": "^4.0.10",
"mkdirp": "^0.5.5",
"next": "^12.1.0",
"next-transpile-modules": "^5.0.0",
"node-fetch": "^3.3.2",
"path-to-regexp": "^8.0.0",
"plist": "^3.0.5",
"postcss": "^8.5.0",
"query-string": "^6.13.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-images": "^1.2.0-beta.7",
"react-map-gl": "^5.2.10",
"react-measure": "^2.5.2",
"react-photo-album": "^1.13.2",
"react-radio-group": "^3.0.3",
"react-responsive-carousel": "^3.2.23",
"react-share": "^4.4.0",
"resize-observer-polyfill": "^1.5.1",
"safe-area-insets": "^1.3.2",
"styled-components": "^5.3.7",
"swr": "^0.4.2",
"ttag": "^1.7.22",
"ua-parser-js": "^0.7.33",
"underscore.string": "^3.3.6",
"unfetch": "^3.1.2",
"uuid": "^8.3.1",
"webdriverio": "^9.1.0",
"webpack": "^5.94.0",
"webpack-log": "^3.0.1"
},
"devDependencies": {
"@babel/plugin-transform-template-literals": "^7.4.4",
"@babel/preset-env": "^7.23.5",
"@svgr/cli": "^8.1.0",
"@types/classnames": "^2.2.9",
"@types/compression": "^1.7.0",
"@types/d3-color": "^1.2.2",
"@types/d3-interpolate": "^1.3.1",
"@types/d3-scale": "^2.1.1",
"@types/ejson": "^2.1.2",
"@types/express": "^4.17.9",
"@types/fast-levenshtein": "0.0.1",
"@types/geojson": "^7946.0.7",
"@types/http-proxy-middleware": "^0.19.3",
"@types/is-url": "^1.2.28",
"@types/lodash": "^4.14.146",
"@types/marked": "^1.2.0",
"@types/mocha": "^5.2.7",
"@types/node": "^12.19.7",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-map-gl": "^5.2.9",
"@types/react-measure": "^2.0.5",
"@types/react-radio-group": "^3.0.2",
"@types/react-share": "^3.0.3",
"@types/styled-components": "^5.1.14",
"@types/ua-parser-js": "^0.7.33",
"@types/uuid": "^3.4.6",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"acorn": "^6.4.2",
"babel-plugin-dynamic-import-node": "^2.3.0",
"babel-plugin-styled-components": "^1.10.1",
"babel-plugin-transform-es2015-template-literals": "^6.22.0",
"browserslist": "^4.16.6",
"chalk": "1.1.3",
"copyfiles": "^2.2.0",
"dotenv-cli": "^1.4.0",
"eslint": "^8.54.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-react-hooks": "^4.6.0",
"npm-force-resolutions": "0.0.3",
"npmignore": "^0.2.0",
"promise": "8.0.1",
"rimraf": "^2.6.3",
"sass": "^1.51.0",
"source-map-loader": "^0.2.4",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"ttag-cli": "^1.10.11",
"typescript": "^5.5.3"
},
"scripts": {
"dev": "npx ts-node-dev --watch 'src/server/*.ts,src/lib/env.ts,src/app/router.ts' --ignore-watch 'src/.next/*' -P src/server/tsconfig.json --respawn --icu-data-dir=node_modules/full-icu src/server/server.ts",
"build": "rm -rf dist/ && rm -rf src/.next/ && npm run copy-files && NEXT_TELEMETRY_DISABLED=1 next build src && tsc -p src/server/ --outDir dist/ --noEmit false && mv src/.next dist/",
"start": "pwd; env; cat .env; NODE_ENV=production node --icu-data-dir=node_modules/full-icu dist/server/server.js",
"copy-files": "copyfiles -u 1 ./src/**/*.css ./dist && copyfiles -u 1 ./src/**/*.scss ./dist && copyfiles ./public ./dist",
"analyze": "source-map-explorer build/static/js/main.*",
"test": "wdio run tests/conf/parallel.conf.js",
"test-live-app": "CI_TEST_GIT_REF=production CI_TEST_GIT_SHA1=12345678 BROWSERSTACK_LOCAL=0 CI_DEPLOYMENT_TEST_URL=https://wheelmap.org npm run test",
"version": "echo TODO: Add version syncing to bundle configurations for native apps + git commit -am 'Version bump' to package.json",
"server": "server",
"push-translations": "rm -rf src/.next/ && npx ttag update public/i18n/translations.pot ./src && tx push -s && echo \"Translators can now start translating new strings:\\n\\nhttps://www.transifex.com/sozialhelden/wheelmap-react-frontend/translate/#de/translationspot/335454735?q=translated%3Ano\"",
"pull-translations": "tx pull -af && node scripts/parseGettextFiles.js",
"retranslate": "npm run build && npm run pull-translations && NEW_SOURCE_PO='./src/public/i18n/en_US.txt' retranslate/run.sh",
"compile-svg-directory": "echo \"Compiling SVGs in ${basedir}, this can take up to a few minutes…\"; (for file in ${basedir}/*.svg; do node node_modules/@svgr/cli/bin/svgr --icon $file > ${file/.svg/.tsx}; sed -i '' -e 's/= props/= (props: React.SVGAttributes<{}>)/g' ${file/.svg/.tsx}; echo \"export { default as `basename $file .svg` } from './`basename $file .svg`';\"; done;) > ${basedir}/index.ts",
"compile-markers": "basedir=src/components/icons/markers npm run compile-svg-directory",
"compile-equipment-icons": "basedir=src/components/icons/equipment npm run compile-svg-directory",
"compile-category-icons": "basedir=src/components/icons/categories npm run compile-svg-directory",
"compile-action-icons": "basedir=src/components/icons/actions npm run compile-svg-directory",
"compile-ui-icons": "basedir=src/components/icons/ui-elements npm run compile-svg-directory",
"compile-main-categories": "basedir=src/components/icons/mainCategories npm run compile-svg-directory",
"compile-svgs": "npm run compile-main-categories && npm run compile-action-icons && npm run compile-category-icons && npm run compile-markers && npm run compile-equipment-icons",
"compile-merged-svgs": "BABEL_ENV=development babel-node --plugins transform-es2015-modules-commonjs scripts/generate-icons.js && ./node_modules/svgo/bin/svgo --multipass build/icons/*.svg",
"clear-babel-cache": "rimraf -rf ./node_modules/.cache/babel-loader/*"
},
"browserslist": [
"Android > 4.4",
"UCAndroid >= 11.8",
"ChromeAndroid >= 67",
"Firefox >= 44",
"Samsung >= 4",
"Chrome >= 49",
"Safari >= 9",
"Edge >= 16",
"not IE 11",
"Opera >= 53",
"iOS >= 10",
"last 1 version",
"> 0.25%",
"not dead",
"not op_mob >= 1"
],
"engines": {
"node": "22"
},
"resolutions": {
"https-proxy-agent": "^3.0.0"
}
}