-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
242 lines (242 loc) · 9.64 KB
/
package.json
File metadata and controls
242 lines (242 loc) · 9.64 KB
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
{
"name": "terraware-web",
"version": "0.1.0",
"private": true,
"license": "Apache-2.0",
"scripts": {
"start": "NODE_OPTIONS=--max_old_space_size=8192 rsbuild dev",
"build": "NODE_OPTIONS=--max_old_space_size=8192 rsbuild build",
"preview": "rsbuild preview",
"start:dev": "rsbuild dev",
"build-with-version": "export PUBLIC_TERRAWARE_FE_BUILD_VERSION=$(git rev-parse --short HEAD) && yarn build",
"build-version-file": "echo $(git rev-parse --short HEAD) > public/build-version.txt",
"test": "TZ=America/Los_Angeles rstest -w",
"test:ci": "TZ=America/Los_Angeles rstest",
"test-coverage": "TZ=America/Los_Angeles rstest --coverage",
"eject": "craco eject",
"generate-collateral": "yarn build-version-file && yarn generate-strings",
"generate-strings": "node scripts/generate-strings.js && node scripts/unused-strings.js",
"alphabetize-strings": "node scripts/alphabetize-strings.js",
"generate-queries": "npx @rtk-query/codegen-openapi rtk-codegen.config.ts",
"generate-types": "node scripts/openapi-typescript-formatter.mjs",
"license-report": "license-report --only=prod --department.value=terraware --relatedTo.value=terraware-web --output=html > docs/license-report.html",
"lint": "eslint src",
"lint:dev": "yarn lint --rule 'react/jsx-no-bind: 0' --rule 'react-hooks/immutability: 0' --rule 'react-hooks/refs: 0' --rule 'react-hooks/set-state-in-effect: 0' --rule 'react-hooks/static-components: 0'",
"ts": "tsc --project ./tsconfig.json",
"format": "prettier --write .",
"format:changed": "git diff -z --name-only --diff-filter=ACMR main -- '**.js' '**.ts' '**.tsx' '**.json' '**.css' '**.scss' '**.md' | xargs -0r prettier --write",
"docker:start": "./scripts/launch_server.sh",
"docker:stop": "docker compose down",
"docker:start:prod": "./scripts/launch_server.sh --profile prod",
"docker:stop:prod": "docker compose --profile prod down",
"docker:remote-be:start": "docker compose -f remote-backend/docker-compose.yml up --detach",
"docker:remote-be:stop": "docker compose -f remote-backend/docker-compose.yml down",
"wait-be": "wait-on -t 120000 http://localhost:8080/swagger-ui/index.html",
"server:prepare": "./scripts/preparedb.sh",
"server:reset": "./scripts/resetdb.sh",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"pre-commit": "yarn format && yarn lint && yarn ts && yarn test && yarn build",
"playwright:run": "yarn run playwright test playwright/e2e --project=dev",
"playwright:debug": "yarn run playwright test playwright/e2e --debug --project=dev",
"playwright:demo": "SLOW_MO=750 TIMEOUT=600000 yarn run playwright test playwright/e2e --headed --project=dev",
"playwright:run:prod": "yarn run playwright test playwright/e2e --project=prod",
"test:e2e": "yarn run wait-on -t 60000 http://localhost:3001 && NODE_OPTIONS=--max-old-space-size=16384 yarn run playwright:run:prod",
"dump:local": "./scripts/dump.sh local",
"dump:docker": "./scripts/dump.sh docker",
"postinstall": "patch-package",
"translate": "yarn run autotranslate",
"translate:start": "yarn run autotranslate --watch"
},
"dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@datadog/browser-rum": "^6.23.0",
"@datadog/browser-rum-react": "^6.23.0",
"@dnd-kit/core": "^6.0.5",
"@dnd-kit/sortable": "^10.0.0",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.3",
"@mapbox/mapbox-gl-draw": "^1.5.0",
"@mapbox/search-js-core": "^1.0.0-beta.21",
"@mui/base": "^5.0.0-beta.20",
"@mui/icons-material": "^6.0.0",
"@mui/lab": "^6.0.1-beta.36",
"@mui/material": "^6.0.0",
"@mui/styled-engine-sc": "^5.14.12",
"@mui/x-date-pickers": "^7.0.0",
"@mux/mux-player": "^3.6.1",
"@mux/mux-player-react": "^3.6.1",
"@playcanvas/react": "^0.11.3",
"@reduxjs/toolkit": "^1.9.3",
"@rsbuild/core": "^1.7.3",
"@rsbuild/plugin-eslint": "^1.2.1",
"@rsbuild/plugin-react": "^1.4.5",
"@rsbuild/plugin-sass": "^1.5.0",
"@rsbuild/plugin-svgr": "^1.3.0",
"@rsbuild/plugin-type-check": "^1.3.3",
"@rstest/core": "^0.9.0",
"@rstest/coverage-istanbul": "^0.3.0",
"@terraware/web-components": "^v4.2.4",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.4.3",
"@turf/area": "^6.5.0",
"@turf/bbox": "^6.5.0",
"@turf/bbox-polygon": "^6.5.0",
"@turf/center": "^6.5.0",
"@turf/centroid": "^6.5.0",
"@turf/difference": "^6.5.0",
"@turf/intersect": "^6.5.0",
"@turf/union": "^6.5.0",
"axios": "^1.6.3",
"chart.js": "^4.2.0",
"chartjs-adapter-luxon": "^1.3.1",
"chartjs-plugin-annotation": "^3.1.0",
"classnames": "^2.5.1",
"cookies-js": "^1.2.3",
"coordinate-parser": "^1.0.7",
"date-fns": "^4.0.0",
"dayjs": "^1.11.18",
"export-to-csv": "^1.4.0",
"hex-rgb": "^5.0.0",
"immer": "^9.0.19",
"is-hotkey": "^0.2.0",
"jest-environment-jsdom": "^30.2.0",
"jszip": "^3.10.1",
"jwt-decode": "^4.0.0",
"lodash": "^4.17.21",
"luxon": "^3.3.0",
"mapbox-gl": "^3.14.0",
"material-react-table": "^3.2.1",
"playcanvas": "^2.15.1",
"re-reselect": "^4.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-error-boundary": "^6.0.0",
"react-localization": "^2.0.0",
"react-map-gl": "^8.0.4",
"react-mixpanel-browser": "^4.1.0",
"react-multi-carousel": "^2.8.2",
"react-redux": "^9.0.0",
"react-responsive": "^10.0.0",
"react-router": "^7.5.3",
"sanitize-filename": "^1.6.3",
"slate": "^0.124.0",
"slate-dom": "^0.124.0",
"slate-react": "^0.124.0",
"styled-components": "^6.0.0",
"swiper": "^12.0.3",
"utm": "^1.1.1",
"wait-on": "^9.0.3",
"web-vitals": "^5.0.0"
},
"eslintConfig": {
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:jest-react/recommended",
"plugin:storybook/recommended"
],
"parserOptions": {
"project": "tsconfig.json"
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-base-to-string": "off"
}
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
],
"devDependencies": {
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@datadog/datadog-ci": "^5.9.0",
"@eslint/compat": "^2.0.0",
"@eslint/js": "^9.0.0",
"@playwright/test": "^1.45.0",
"@rsbuild/plugin-babel": "^1.1.1",
"@rtk-query/codegen-openapi": "^2.1.0",
"@storybook/addon-essentials": "^7.0.12",
"@storybook/addon-interactions": "^7.0.12",
"@storybook/addon-links": "^7.0.12",
"@storybook/blocks": "^7.0.12",
"@storybook/preset-create-react-app": "^7.0.12",
"@storybook/react": "^7.0.12",
"@storybook/react-webpack5": "^7.0.12",
"@storybook/testing-library": "^0.2.0",
"@stylistic/eslint-plugin-js": "^4.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/user-event": "^14.4.3",
"@trivago/prettier-plugin-sort-imports": "^6.0.0",
"@types/geojson": "^7946.0.10",
"@types/is-hotkey": "^0.1.10",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.14.202",
"@types/luxon": "^3.2.0",
"@types/mapbox__mapbox-gl-draw": "^1.4.0",
"@types/node": "^24.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/webpack-env": "^1.18.8",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/eslint-plugin-tslint": "^7.0.2",
"@typescript-eslint/parser": "^7.7.0",
"babel-plugin-named-exports-order": "^0.0.2",
"babel-plugin-react-compiler": "^1.0.0",
"btoa": "^1.2.1",
"csv": "^6.2.8",
"eslint": "^9.6.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-jest-react": "^0.1.0",
"eslint-plugin-jsdoc": "^62.0.0",
"eslint-plugin-n": "^17.15.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-storybook": "^0.12.0",
"esm": "^3.2.25",
"express": "^5.0.0",
"globals": "^17.0.0",
"jest": "^30.0.0",
"jest-mock-axios": "^4.4.1",
"jest-mock-extended": "^4.0.0",
"license-report": "^6.0.0",
"llm-autotranslate": "^1.0.0",
"nyc": "^18.0.0",
"openapi-typescript": "^7.0.0",
"patch-package": "^8.0.0",
"playwright": "^1.45.0",
"prettier": "^3.0.3",
"prop-types": "^15.8.1",
"react-test-renderer": "19.2.4",
"sass": "^1.38.0",
"storybook": "^7.0.12",
"ts-node": "^10.9.2",
"typescript": "^5.0.0",
"typescript-eslint": "^7.15.0",
"webpack-dev-middleware": "^8.0.0"
},
"resolutions": {
"@babel/traverse": "7.29.0",
"fork-ts-checker-webpack-plugin": "^9.0.0",
"wrap-ansi": "10.0.0",
"string-width": "8.2.0",
"strip-ansi": "6.0.1"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}