-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathpackage.json
More file actions
206 lines (206 loc) · 9.53 KB
/
package.json
File metadata and controls
206 lines (206 loc) · 9.53 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
{
"name": "@cumulus/core",
"version": "1.0.0",
"description": "Cumulus Framework for ingesting and processing NASA Earth data streams",
"workspaces": [
"example",
"example/lambdas/*",
"example/scripts/*",
"lambdas/*",
"packages/*",
"packages/cumulus-message-adapter-js",
"packages/api/ecs/async-operation",
"tasks/*",
"tf-modules/*",
"tf-modules/internal/*",
"scripts/unit-error-analysis/*",
"scripts/*"
],
"scripts": {
"audit": "audit-ci --config ./audit-ci.json",
"db:local:drop": "node bin/db-local-rollback.js --all",
"db:local:migrate": "node bin/db-local-migrate.js",
"db:local:reset": "npm run db:local:drop && npm run db:local:migrate",
"docs-build-packages": "lerna run build-docs",
"docs-build-tasks": "./bin/build-tasks-doc.js",
"docs-install": "(cd website && npm install)",
"docs-build": "npm run docs-install && npm run docs-build-tasks && (cd website && npm run build)",
"docs-build-schema": "./bin/build_db_schema.sh",
"docs-clear": "(cd website && npm run clear)",
"docs-serve": "npm run docs-build && (cd website && npm run start)",
"eslint": "eslint --ext .js --ext .ts . --quiet",
"remove-locks": "lerna exec -- rm -rf ./package-lock.json",
"install-locks": "lerna exec --no-sort -- npm install --package-lock-only --no-audit --ignore-scripts",
"install-python-deps": "lerna run install-python-deps --concurrency 1",
"lint": "npm run lint-package-json && npm run eslint && lerna run python-lint && npm run lint-python && npm run lint-md",
"lint-md": "markdownlint docs/**/*.md docs/*.md tf-modules/**/*.md tf-modules/*.md",
"lint-package-json": "npmPkgJsonLint .",
"lint-python": "uv run ruff check . && uv run ruff format --diff .",
"precommit:install": "uv run pre-commit install",
"precommit:uninstall": "uv run pre-commit uninstall",
"precommit:run": "uv run pre-commit run --all-files",
"test": "lerna run --ignore @cumulus/cumulus-integration-tests --stream --concurrency 1 test",
"test:coverage": "lerna run --ignore @cumulus/cumulus-integration-tests --stream --concurrency 1 test:coverage",
"test:ci": "lerna run --ignore @cumulus/cumulus-integration-tests --stream --concurrency 1 test:ci",
"test:ci:units-no-api": "lerna run --ignore @cumulus/cumulus-integration-tests --ignore @cumulus/api --stream --concurrency 2 test:ci",
"test:ci:api-units": "lerna run --stream --concurrency 1 test:ci --scope @cumulus/api",
"coverage:no-api": "lerna run --ignore @cumulus/cumulus-integration-tests --ignore @cumulus/api --concurrency 1 --since master coverage -- ",
"coverage:api": "lerna run --concurrency 1 --scope @cumulus/api --since master coverage -- ",
"tsc": "lerna run tsc",
"tsc:listEmittedFiles": "lerna run tsc:listEmittedFiles --stream --no-prefix",
"package": "lerna run package",
"bootstrap": "npm install && lerna run build && lerna run package && npm run bootstrap-python && lerna run prepublish && git rev-parse --short HEAD > .bootstrapSha",
"bootstrap-python": "uv sync --all-groups",
"bootstrap-no-build": "npm install && npm run bootstrap-python",
"bootstrap-no-build-no-scripts": "npm install --ignore-scripts && npm run bootstrap-python",
"bootstrap-no-build-quiet": "npm install --loglevel error && npm run bootstrap-python",
"package:lambdas": "for x in lambdas/*; do (echo \"packaging $x\" && cd $x && test -e package.json && npm install --no-workspaces && npm run package); done",
"build:lock-stack-deps": "npx lerna run build --scope @cumulus/cumulus-integration-tests --scope @cumulus/aws-client --scope @cumulus/checksum --scope @cumulus/common --scope @cumulus/errors --scope @cumulus/logger",
"ci:bootstrap": "npm install --ignore-scripts && lerna run build && npm run bootstrap-python && lerna run prepublish",
"ci:bootstrap-no-scripts": "npm install --ignore-scripts && npm run bootstrap-python",
"ci:bootstrap-no-scripts-quiet": "npm install --ignore-scripts --loglevel error && npm run bootstrap-python",
"update": "lerna version --exact --force-publish --no-git-tag-version --no-push && npm run update-python-version -- $(jq -r '.version' lerna.json)",
"update-python-version": "lerna run update-python-version --",
"clean": "lerna run clean && lerna clean --yes && npm run remove-locks && rm -rf ./node_modules && rm -f package-lock.json && rm -f .bootstrapSha",
"build": "lerna run --ignore @cumulus/cumulus-integration-tests build",
"watch": "lerna run --parallel --no-sort watch",
"serve": "lerna run --stream serve --scope @cumulus/api",
"serve-oauth": "lerna run --stream serve-oauth --scope @cumulus/api",
"serve-remote": "lerna run --stream serve-remote --scope @cumulus/api",
"serve-dist": "lerna run --stream serve-dist --scope @cumulus/api",
"serve-dist-oauth": "lerna run --stream serve-dist-oauth --scope @cumulus/api",
"serve-dist-remote": "lerna run --stream serve-dist-remote --scope @cumulus/api",
"start-iceberg-local": "docker build -f packages/api/app/Dockerfile -t cumulus-iceberg-api:local . && docker run --rm -it --name cumulus-iceberg-api --network cumulusstack_default -p 5001:5001 -e PG_HOST=postgres -e PG_PORT=5432 -e PG_USER=postgres -e PG_PASSWORD=password -e PG_DATABASE=postgres -e DISABLE_PG_SSL=true -e LOCALSTACK_HOST=localstack -e LOCAL_ES_HOST=elasticsearch -e FAKE_AUTH=true -e TOKEN_SECRET=test-secret -e 'dynamoTableNameString={\"AccessTokensTable\":\"test-AccessTokensTable\"}' -e NODE_ENV=test cumulus-iceberg-api:local",
"stop-iceberg-local": "docker stop cumulus-iceberg-api",
"coveralls": "nyc report --reporter=text-lcov --temp-directory=\"./.final_nyc_output\" | coveralls",
"start-unit-test-stack": "export SSH_USERS=user:$(id -u):$(id -u) && docker compose -f ./bamboo/docker-compose.yml -f ./bamboo/docker-compose-local.yml -p cumulusstack up -d",
"stop-unit-test-stack": "docker compose -f ./bamboo/docker-compose.yml -f ./bamboo/docker-compose-local.yml -p cumulusstack down",
"view-unit-test-stack-logs": "export SSH_USERS=user:$(id -u):$(id -u) && docker compose -f ./bamboo/docker-compose.yml -f ./bamboo/docker-compose-local.yml -p cumulusstack logs --follow"
},
"repository": {
"type": "git",
"url": "https://github.com/nasa/cumulus"
},
"engines": {
"node": ">=22.21.1"
},
"bin": {
"build-tasks-doc": "./bin/build-tasks-doc.js"
},
"keywords": [
"GIBS",
"CUMULUS",
"NASA"
],
"author": "Cumulus Authors",
"license": "Apache-2.0",
"dependencies": {
"archiver": "^6.0.2",
"crypto-js": "^4.2.0",
"fs-extra": "^9.0.0"
},
"devDependencies": {
"@ava/typescript": "^1.1.1",
"@babel/core": "^7.24.4",
"@babel/eslint-parser": "^7.24.1",
"@babel/preset-env": "^7.24.4",
"@docusaurus/eslint-plugin": "^2.3.0",
"@octokit/graphql": "^2.3.0",
"@smithy/types": "^2.11.0",
"@types/aws-lambda": "^8.10.58",
"@types/lodash": "^4.17.24",
"@types/lodash.iserror": "^3.1.6",
"@types/mime-types": "^2.1.0",
"@types/node": "^12.12.6",
"@types/pg": "^7.14.4",
"@types/pump": "^1.1.0",
"@types/sinon": "^9.0.4",
"@types/uuid": "^8.0.0",
"@types/xml2js": "^0.4.5",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"audit-ci": "6.6.1",
"ava": "^5.3.1",
"aws-sdk-client-mock": "^3.1.0",
"babel-loader": "^8.2.2",
"babel-plugin-source-map-support": "^2.1.1",
"base-64": "^0.1.0",
"cookie-parser": "^1.4.5",
"copy-webpack-plugin": "^12.0.2",
"coveralls": "^3.0.0",
"create-test-server": "^3.0.1",
"crypto-random-string": "^3.2.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-airbnb-typescript": "^14.0.1",
"eslint-plugin-eslint-comments": "^3.0.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsdoc": "^40.0.0",
"eslint-plugin-lodash": "^2.7.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-unicorn": "^19.0.1",
"file-loader": "^6.2.0",
"got": "^11.8.5",
"hasha": "v5.2.0",
"html-loader": "^2.1.2",
"is-ip": "^3.1.0",
"jasmine": "^3.1.0",
"jasmine-console-reporter": "^2.0.1",
"jasmine-reporters": "^2.3.2",
"js-yaml": "^3.13.1",
"jsdoc-to-markdown": "7.1.1",
"latest-version": "^9.0.0",
"lerna": "^9.0.5",
"lodash": "^4.18.1",
"markdownlint-cli": "^0.47.0",
"md5": "^2.2.1",
"mime-types": "^2.1.22",
"moment": "^2.30.1",
"nock": "^13.5.4",
"node-loader": "^2.0.0",
"npm-package-json-lint": "^5.1.0",
"nyc": "^15.1.0",
"p-all": "^3.0.0",
"p-map": "^4.0.0",
"p-retry": "^4.2.0",
"p-timeout": "^3.2.0",
"p-times": "^4.0.0",
"p-wait-for": "^3.1.0",
"parallel": "^1.2.0",
"parseurl": "^1.3.3",
"pg": "~8.12",
"proxyquire": "^2.1.3",
"retry": "^0.12.0",
"rewire": "^6.0.0",
"semver": "^5.5.0",
"simple-git": "^3.7.0",
"sinon": "^9.0.2",
"snake-camel": "^1.0.6",
"ssh2-streams": "^0.4.8",
"string-replace-loader": "^3.0.3",
"supertest": "^7.0.0",
"tough-cookie": "~4.0.0",
"tsc-watch": "^4.2.8",
"typescript": "~4.8.3",
"uuid": "^8.2.0",
"webpack": "^5.58.1",
"webpack-cli": "^4.9.0",
"xml2js": "0.5.0"
},
"overrides": {
"axios@1": "^1.14.0",
"lodash@4": "^4.18.1",
"lodash-es@4": "^4.18.1",
"minimatch@3": "^3.1.5",
"minimatch@7": "^7.4.9",
"minimatch@10": "^10.2.4",
"form-data": "^4.0.4",
"request": {
"qs": "^6.14.1"
},
"serialize-javascript": "^7.0.3",
"tar": "^7.5.8"
},
"private": true
}