This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
/
package.json
220 lines (220 loc) · 8.95 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
{
"name": "@americanexpress/one-app",
"version": "6.12.1",
"description": "One Amex SPA technology stack.",
"main": "index.js",
"engines": {
"node": ">=18 <=20",
"npm": ">=8"
},
"scripts": {
"rimraf": "node -e \"process.argv.slice(1).forEach(path => require('node:fs').rmSync(path, { recursive: true, force: true }));\" --",
"clean": "npm run clean:build && npm run clean:test",
"clean:build": "npm run rimraf dist lib build lastBuild.json stats.json",
"clean:test": "npm run rimraf test-results",
"prebuild": "npm run clean:build",
"build:bundle:prod": "cross-env NODE_ENV=production npm run build:bundle",
"build:bundle": "cross-env \"NODE_OPTIONS=--max-old-space-size=4096 --openssl-legacy-provider\" bundle-one-app",
"build:server": "cross-env BABEL_ENV=server babel src --out-dir lib --ignore \"**/__mocks__\"",
"build:service-workers": "node scripts/build-service-workers.js",
"build:artifacts:statics": "node scripts/build-static-assets-artifact.js",
"build": "concurrently \"npm run build:bundle\" \"npm run build:server\" -n build:bundle,build:server --kill-others-on-fail && npm run build:service-workers",
"build:prod-sample": "concurrently \"npm run build:sample-modules\" \"node scripts/build-one-app-docker-setup.js\" -n build-modules,build-app",
"build:sample-modules": "node scripts/build-sample-modules.js",
"start:watch": "node scripts/watch-server.js",
"prestart:prod-sample": "npm run build:prod-sample",
"prestart:prod-sample:debug": "npm run build:prod-sample",
"start:prod-sample": "docker compose -f ./prod-sample/docker-compose.yml up --abort-on-container-exit",
"start:prod-sample:debug": "docker compose -f ./prod-sample/docker-compose.yml -f ./prod-sample/docker-compose.debug.yml up --abort-on-container-exit",
"monitor:performance": "npm run perf -- monitor",
"perf": "node __performance__/bin/index.js",
"test:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -o https: -c -i",
"test:lint": "eslint --ext js,jsx,md,snap .",
"start": "scripts/start.sh",
"start:inspect": "scripts/start.sh --inspect",
"test:unit": "jest --testPathIgnorePatterns integration __performance__ --config jest.config.js",
"pretest:integration": "concurrently \"npm run build:prod-sample\" \"docker compose -f ./prod-sample/docker-compose.yml pull nginx selenium-chrome\" --kill-others-on-fail -n build-prod-sample,build-dependency-images",
"test:integration": "JEST_TEST_REPORT_PATH=./test-results/integration-test-report.html jest integration --config jest.integration.config.js --forceExit",
"test:danger": "[ \"$NODE_ENV\" = \"production\" ] && danger ci || danger local",
"test": "npm run test:lint && npm run test:lockfile && npm run test:unit && npm run test:integration && npm run test:danger && npm run test:git-history-main",
"test:git-history": "commitlint --to HEAD",
"test:git-history-main": "npm run test:git-history -- --from origin/main",
"serve-module": "serve-module",
"drop-module": "drop-module",
"set-middleware": "set-middleware",
"set-dev-endpoints": "node scripts/set-dev-endpoints.js",
"release:standard-version": "standard-version -n",
"release:changelog": "echo \"$(head -3 CHANGELOG.md)\n\n$(node_modules/.bin/conventional-changelog -p angular)\n\n$(tail -n +4 CHANGELOG.md)\" > CHANGELOG.md",
"release": "npm run release:standard-version && npm run release:changelog",
"prepare": "husky || true"
},
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/one-app.git"
},
"homepage": "https://github.com/americanexpress/one-app",
"bugs": {
"url": "https://github.com/americanexpress/one-app/issues"
},
"contributors": [
"Andres Escobar <Andres.Escobar@aexp.com> (https://github.com/anescobar1991)",
"James Singleton <James.Singleton1@aexp.com> (https://github.com/JamesSingleton)",
"Jamie King <Jamie.King@aexp.com> (https://github.com/10xLaCroixDrinker)",
"Jonathan Adshead <Jonathan.Adshead@aexp.com> (https://github.com/JAdshead)",
"Michael Tobia <Michael.M.Tobia@aexp.com> (https://github.com/Francois-Esquire)",
"Michael Tomcal <Michael.A.Tomcal@aexp.com> (https://github.com/mtomcal)",
"Stephanie Coates <Stephanie.Coates1@aexp.com> (https://github.com/stephaniecoates)",
"Nelly Kiboi <Nelly.J.Kiboi@aexp.com> (https://github.com/nellyk)",
"Nickolas Oliver <nickolas.oliver@aexp.com> (https://github.com/PixnBits)",
"Ruben Casas <ruben.casas@aexp.com> (https://github.com/infoxicator)"
],
"license": "Apache-2.0",
"keywords": [
"spa",
"single page app",
"American Express",
"web",
"react",
"holocron",
"ui",
"one-app"
],
"dependencies": {
"@americanexpress/env-config-utils": "^2.0.4",
"@americanexpress/fetch-enhancers": "^1.1.5",
"@americanexpress/one-app-ducks": "^4.5.1",
"@americanexpress/one-app-router": "^1.2.1",
"@americanexpress/one-app-server-bundler": "^1.1.0",
"@americanexpress/vitruvius": "^3.0.1",
"@autotelic/fastify-opentelemetry": "^0.21.0",
"@fastify/compress": "^7.0.3",
"@fastify/cookie": "^9.3.1",
"@fastify/cors": "^9.0.1",
"@fastify/formbody": "^7.4.0",
"@fastify/helmet": "^11.1.1",
"@fastify/rate-limit": "^9.1.0",
"@fastify/sensible": "^5.5.0",
"@fastify/static": "^7.0.2",
"@opentelemetry/api": "^1.8.0",
"@opentelemetry/api-logs": "^0.49.1",
"@opentelemetry/core": "^1.22.0",
"@opentelemetry/exporter-trace-otlp-grpc": "^0.49.1",
"@opentelemetry/instrumentation": "^0.49.1",
"@opentelemetry/instrumentation-http": "^0.49.1",
"@opentelemetry/instrumentation-pino": "^0.36.0",
"@opentelemetry/propagator-b3": "^1.22.0",
"@opentelemetry/resources": "^1.22.0",
"@opentelemetry/sdk-trace-base": "^1.22.0",
"@opentelemetry/sdk-trace-node": "^1.22.0",
"@opentelemetry/semantic-conventions": "^1.22.0",
"abort-controller": "^3.0.0",
"accepts": "^1.3.8",
"bytes": "^3.1.2",
"cacheable-lookup": "^6.1.0",
"colorette": "^2.0.20",
"core-js": "^3.36.1",
"create-shared-react-context": "^1.0.5",
"cross-fetch": "^4.0.0",
"deepmerge": "^4.3.1",
"dotenv": "^16.4.5",
"fastify": "^4.26.2",
"fastify-metrics": "^11.0.0",
"fastify-plugin": "^4.5.1",
"flat": "^5.0.2",
"holocron": "^1.10.2",
"holocron-module-route": "^1.10.2",
"immutable": "^4.3.5",
"joi": "^17.12.2",
"lean-intl": "^4.2.2",
"matcher": "^4.0.0",
"object-hash": "^3.0.0",
"on-finished": "^2.4.1",
"opossum": "^8.1.3",
"opossum-prometheus": "^0.3.0",
"pidusage": "^3.0.2",
"pino": "^8.19.0",
"pino-opentelemetry-transport": "^0.6.0",
"prom-client": "^15.1.1",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-redux": "^7.2.9",
"redux": "^4.2.1",
"redux-lifesaver": "^2.1.0",
"regenerator-runtime": "^0.14.1",
"reselect": "^4.1.8",
"semver": "^7.6.0",
"serialize-error": "^8.1.0",
"striptags": "^3.2.0",
"transit-immutable-js": "^0.8.0",
"transit-js": "^0.8.874",
"url-polyfill": "^1.1.12",
"uuid": "^9.0.1",
"wildcard-match": "^5.1.3",
"yargs": "^17.7.2"
},
"devDependencies": {
"@americanexpress/one-app-dev-proxy": "^2.0.0",
"@americanexpress/one-service-worker": "^1.0.4",
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"amex-jest-preset": "^7.0.0",
"babel-preset-amex": "^4.0.3",
"chokidar": "^3.6.0",
"concurrently": "^8.2.2",
"console-table-printer": "^2.12.0",
"conventional-changelog-cli": "^4.1.0",
"cross-env": "^7.0.3",
"danger": "^11.3.1",
"date-fns": "^3.6.0",
"diff": "^5.2.0",
"eslint": "^8.57.0",
"eslint-config-amex": "^16.1.0",
"eslint-plugin-es": "^4.1.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest-dom": "^4.0.3",
"expect": "^29.7.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"jest-environment-jsdom": "^28.1.3",
"js-yaml": "^4.1.0",
"lockfile-lint": "^4.13.2",
"markdown-table": "^2.0.0",
"node-mocks-http": "^1.14.1",
"nodemon": "^3.1.0",
"parse-prometheus-text-format": "^1.1.1",
"pino-pretty": "^11.0.0",
"prettier": "^2.8.8",
"proxy-agent": "^6.4.0",
"rollup": "^4.13.2",
"service-worker-mock": "^2.0.5",
"split2": "^4.2.0",
"standard-version": "^9.5.0",
"tar": "^6.2.1",
"thread-stream": "^2.4.1",
"ttest": "^4.0.0",
"webdriverio": "^7.36.0"
},
"overrides": {
"chokidar": "$chokidar"
},
"standard-version": {
"bumpFiles": [
"package.json",
"package-lock.json",
"one-app-statics/package.json"
],
"skip": {
"tag": true,
"changelog": true
}
}
}