-
Notifications
You must be signed in to change notification settings - Fork 255
Expand file tree
/
Copy pathpackage.json
More file actions
283 lines (283 loc) · 10.3 KB
/
Copy pathpackage.json
File metadata and controls
283 lines (283 loc) · 10.3 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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
{
"name": "earthdata-search",
"description": "Earthdata Search",
"version": "1.0.0",
"repository": "nasa/earthdata-search",
"maintainers": [
{
"name": "Earthdata Search",
"email": "support@earthdata.nasa.gov"
}
],
"scripts": {
"build:api": "rm -rf .serverless-dist && node esbuild.js",
"watch:api": "nodemon --watch serverless/src --ext js,ts,graphql --exec 'npm run build:api'",
"prestart:api": "npm run build:api",
"start:api": "dotenvx run nodemon -- --config api.nodemon.json bin/api.mjs cdk/earthdata-search/cdk.out/earthdata-search-dev.template.json",
"preinstall": "cd cdk/earthdata-search && npm ci",
"run-synth": "cd cdk/earthdata-search && npm run cdk synth -- --quiet",
"prestart:elasticmq": "node bin/generateQueueConfig.mjs ./cdk/earthdata-search/cdk.out/earthdata-search-dev.template.json",
"start:elasticmq": "docker run --rm --name elasticmq -p 9324:9324 -p 9325:9325 -v `pwd`/elasticmq.conf:/opt/elasticmq.conf softwaremill/elasticmq-native",
"start:sqs": "dotenvx run node bin/receiveMessages.mjs cdk/earthdata-search/cdk.out/earthdata-search-dev.template.json",
"build-available-portals": "node portals/buildAvailablePortals.js",
"prestart": "npm run build-available-portals",
"postinstall": "npm run build-available-portals",
"build": "vite build",
"preview": "vite preview --port 8080",
"migrate": "node-pg-migrate",
"start:app": "vite dev --port 8080",
"start": "dotenvx run node bin/start.js",
"start:geocoder": "docker build -f geocoder.Dockerfile -t geocoder-lambda . && docker run -p 4001:8080 -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY geocoder-lambda",
"start:optionals": "USE_CACHE=true SKIP_SQS=false USE_NLP_SEARCH=true USE_GEOCODER=true ORDER_DELAY_SECONDS=1 npm start",
"copy-secrets": "cp secret.config.json.example secret.config.json",
"test": "TZ=US/Eastern vitest",
"test:ui": "TZ=US/Eastern vitest --ui",
"start:cache": "docker compose up -d",
"stop:cache": "docker compose down",
"prestart-ci": "NODE_OPTIONS=--max-old-space-size=8192 VITE_COVERAGE=true VITE_PLAYWRIGHT=true npm run build",
"start-ci": "npm run preview",
"lint:eslint": "eslint . --ext .jsx,.js,.ts,.tsx",
"lint:ts": "tsc --noEmit",
"lint": "npm run lint:eslint && npm run lint:ts",
"preinvoke-local": "npm run build:api",
"invoke-local": "dotenvx run node bin/invokeLocal.mjs --",
"jest:prepare-ci": "bin/jest-prepare-ci",
"playwright:prepare-ci": "bin/playwright-prepare-ci",
"preplaywright": "rm -rf playwright-coverage/ .nyc_output/",
"playwright": "NODE_ENV=playwright nyc playwright test --reporter=list",
"vite-bundle-vis": "npx vite-bundle-visualizer --sourcemap",
"playwright:ui": "npx playwright test --ui",
"postplaywright": "npx nyc report --reporter=json --reporter=lcov --reporter=clover --report-dir=playwright-coverage",
"deploy-infrastructure": "cd cdk/earthdata-search-infrastructure && npm ci --include=dev && npm run cdk deploy -- --progress events --require-approval never",
"deploy-application": "cd cdk/earthdata-search && npm ci --include=dev && npm run cdk deploy -- --progress events --require-approval never",
"deploy-static": "cd cdk/earthdata-search-static && npm ci --include=dev && npm run cdk deploy -- --progress events --require-approval never",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.26.0",
"@chromatic-com/storybook": "^3.2.6",
"@dotenvx/dotenvx": "^1.33.0",
"@edsc/eslint-config": "^0.0.9",
"@fastify/cors": "^10.0.2",
"@playwright/test": "^1.62.1",
"@storybook/addon-essentials": "^8.6.7",
"@storybook/blocks": "^8.6.7",
"@storybook/react": "^8.6.7",
"@storybook/react-vite": "^8.6.7",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/aws-lambda": "^8.10.161",
"@types/bootstrap": "^5.2.10",
"@types/lodash-es": "^4.17.12",
"@types/proj4": "^2.5.6",
"@types/react": "^19.0.12",
"@types/react-dom": "^19.0.4",
"@types/react-router-dom": "^5.3.3",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/ui": "^4.0.18",
"@welldone-software/why-did-you-render": "^7.0.1",
"aws-sdk-client-mock": "^4.1.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-preset-vite": "^1.1.3",
"concurrently": "^9.1.2",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-cypress": "^2.15.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-import-newlines": "^1.4.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-storybook": "^0.11.6",
"eslint-plugin-testing-library": "^7.1.1",
"fastify": "^5.2.1",
"jsdom": "^26.1.0",
"mock-knex": "^0.4.13",
"mockdate": "^2.0.5",
"nock": "^12.0.3",
"nodemon": "^3.1.9",
"nyc": "^15.1.0",
"playwright-test-coverage": "^1.2.12",
"react-docgen": "^7.1.1",
"start-server-and-test": "^2.0.0",
"storybook": "^8.6.7",
"typescript": "^5.8.2",
"typescript-eslint": "^8.28.0",
"vi-canvas-mock": "^1.0.0"
},
"dependencies": {
"@ai-sdk/amazon-bedrock": "^4.0.105",
"@ai-sdk/react": "^4.0.17",
"@apollo/client": "^3.13.8",
"@apollo/server": "^5.5.1",
"@as-integrations/aws-lambda": "^4.0.1",
"@aws-sdk/client-lambda": "^3.1049.0",
"@aws-sdk/client-s3": "^3.352.0",
"@aws-sdk/client-secrets-manager": "^3.352.0",
"@aws-sdk/client-sfn": "^3.354.0",
"@aws-sdk/client-sqs": "^3.352.0",
"@aws-sdk/s3-request-presigner": "^3.693.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-class-properties": "^7.22.5",
"@babel/plugin-transform-object-rest-spread": "^7.22.15",
"@babel/plugin-transform-runtime": "^7.23.2",
"@babel/preset-react": "^7.16.7",
"@babel/register": "^7.17.7",
"@babel/runtime": "^7.17.9",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@edsc/earthdata-react-icons": "^0.0.2",
"@edsc/echoforms": "^1.1.19",
"@edsc/geo-utils": "^1.0.7",
"@edsc/smart-handoffs": "^1.0.6",
"@edsc/timeline": "^1.1.8",
"@graphql-tools/merge": "^9.0.24",
"@graphql-tools/schema": "^10.0.23",
"@luckycatfactory/esbuild-graphql-loader": "^3.8.1",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-select": "2.0.0",
"@rjsf/core": "^5.24.8",
"@rjsf/utils": "^5.24.8",
"@rjsf/validator-ajv8": "^5.24.8",
"@turf/turf": "^7.2.0",
"@vitejs/plugin-react": "^4.3.4",
"@xmldom/xmldom": "^0.8.6",
"ai": "^6.0.182",
"ajv": "^6.12.6",
"array-foreach-async": "^1.0.1",
"array-to-sentence": "^2.0.0",
"axios": "^1.15.2",
"axios-retry": "^3.2.4",
"babel-loader": "^8.2.5",
"bootstrap": "^5.3.8",
"camelcase-keys": "^7.0.2",
"circular-dependency-plugin": "^5.2.2",
"classnames": "^2.3.1",
"clean-deep": "^3.4.0",
"dataloader": "^2.2.3",
"dropzone": "^5.9.3",
"esbuild": "^0.24.2",
"events": "^3.3.0",
"fast-xml-parser": "^5.5.6",
"formdata-node": "^2.5.0",
"formik": "^2.4.6",
"geojson": "^0.5.0",
"graphql": "^16.11.0",
"graphql-middleware": "^6.1.35",
"graphql-scalars": "^1.24.2",
"graphql-shield": "^7.6.5",
"handlebars": "^4.7.8",
"hex-to-rgba": "^2.0.1",
"immer": "^10.1.1",
"ioredis": "^5.11.1",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^3.2.0",
"knex": "^3.1.0",
"lambda-stream": "^0.6.0",
"lodash-es": "^4.17.21",
"lowercase-keys": "^2.0.0",
"md5": "^2.3.0",
"moment": "^2.29.5",
"node-pg-migrate": "^6.2.2",
"number-abbreviate": "^2.0.0",
"ol": "^10.5.0",
"ol-mapbox-style": "^12.4.1",
"pg": "^8.7.3",
"proj4": "^2.8.0",
"prop-types": "^15.8.1",
"qs": "^6.10.3",
"rc-pagination": "^1.21.1",
"react": "^18.3.1",
"react-autosuggest": "^10.1.0",
"react-bootstrap": "^2.10.10",
"react-datetime": "3.2.0",
"react-dom": "^18.3.1",
"react-helmet": "^6.1.0",
"react-highlight-words": "^0.20.0",
"react-icons": "^5.4.0",
"react-input-range": "^1.3.0",
"react-joyride": "^2.8.2",
"react-router-bootstrap": "^0.26.3",
"react-router-dom": "^6.30.1",
"react-sanitized-html": "^2.0.0",
"react-table": "^7.7.0",
"react-timeago": "^7.1.0",
"react-toast-notifications": "^2.5.1",
"react-transition-group": "^4.4.2",
"react-virtualized-auto-sizer": "^1.0.26",
"react-window": "^1.8.11",
"react-window-infinite-loader": "^1.0.10",
"regenerator-runtime": "^0.13.9",
"reselect": "^4.1.5",
"sanitize-html": "^2.7.0",
"sass": "^1.83.4",
"scatter-swap": "^0.1.0",
"sharp": "^0.33.5",
"simple-oauth2": "^5.1.0",
"simplebar": "^6.2.0",
"simplebar-react": "^3.2.0",
"snakecase-keys": "^2.1.0",
"tiny-cookie": "^2.5.1",
"uuid": "^8.3.2",
"vite": "^6.4.1",
"vite-imagetools": "^7.1.0",
"vite-plugin-ejs": "^1.7.0",
"vite-plugin-graphql-loader": "^4.0.4",
"vite-plugin-istanbul": "^7.0.0",
"vite-plugin-node-polyfills": "^0.23.0",
"vite-plugin-svgr": "^4.3.0",
"vitest": "^4.0.18",
"ws": "^8.18.0",
"xpath": "0.0.27",
"yup": "^0.32.11",
"zod": "^4.4.3",
"zustand": "^4.5.7"
},
"engines": {
"yarn": "YARN NO LONGER USED - use npm instead."
},
"nyc": {
"include": [
"static/src/js/**/*.js",
"static/src/js/**/*.jsx",
"static/src/js/**/*.ts",
"static/src/js/**/*.tsx"
],
"excludeAfterRemap": true
},
"overrides": {
"react-sanitized-html": {
"sanitize-html": "$sanitize-html",
"react": "$react",
"react-dom": "$react-dom"
},
"react-input-range": {
"react": "$react",
"react-dom": "$react-dom"
},
"mock-knex": {
"knex": "$knex"
},
"react-toast-notifications": {
"react": "$react",
"react-dom": "$react-dom"
},
"@apollo/protobufjs": "1.2.8"
},
"resolutions": {
"@testing-library/dom": "9.3.3"
},
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
}
}