forked from americanexpress/one-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
214 lines (214 loc) · 8.55 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
{
"name": "@americanexpress/one-app",
"version": "6.10.0",
"description": "One Amex SPA technology stack.",
"main": "index.js",
"engines": {
"node": ">=18 <=20",
"npm": ">=8"
},
"scripts": {
"preinstall": "npx check-engines@1",
"clean": "npm run clean:build && npm run clean:test",
"clean:build": "rimraf dist lib build lastBuild.json stats.json",
"clean:test": "rimraf test-results",
"prebuild": "npm run clean:build",
"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": "docker compose -f ./__performance__/docker-compose.yml up --abort-on-container-exit influxdb grafana prometheus",
"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": "node --dns-result-order=ipv4first --no-experimental-fetch lib/server/index.js",
"start:inspect": "node --inspect --expose-gc lib/server/index.js",
"test:unit": "jest --testPathIgnorePatterns integration --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": "if-env 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",
"postinstall": "npm run build",
"release:standard-version": "standard-version",
"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 install"
},
"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 <[email protected]> (https://github.com/anescobar1991)",
"James Singleton <[email protected]> (https://github.com/JamesSingleton)",
"Jamie King <[email protected]> (https://github.com/10xLaCroixDrinker)",
"Jonathan Adshead <[email protected]> (https://github.com/JAdshead)",
"Michael Tobia <[email protected]> (https://github.com/Francois-Esquire)",
"Michael Tomcal <[email protected]> (https://github.com/mtomcal)",
"Stephanie Coates <[email protected]> (https://github.com/stephaniecoates)",
"Nelly Kiboi <[email protected]> (https://github.com/nellyk)",
"Nickolas Oliver <[email protected]> (https://github.com/PixnBits)",
"Ruben Casas <[email protected]> (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-bundler": "^6.21.1",
"@americanexpress/one-app-ducks": "^4.4.2",
"@americanexpress/one-app-router": "^1.2.1",
"@americanexpress/vitruvius": "^3.0.1",
"@fastify/compress": "^6.4.0",
"@fastify/cookie": "^9.1.0",
"@fastify/cors": "^8.4.0",
"@fastify/formbody": "^7.4.0",
"@fastify/helmet": "^11.1.1",
"@fastify/rate-limit": "^9.1.0",
"@fastify/sensible": "^5.5.0",
"@fastify/static": "^6.12.0",
"@opentelemetry/semantic-conventions": "^1.15.2",
"abort-controller": "^3.0.0",
"accepts": "^1.3.8",
"body-parser": "^1.20.0",
"bytes": "^3.1.2",
"cacheable-lookup": "^6.0.4",
"chalk": "^4.1.2",
"core-js": "^3.35.0",
"create-shared-react-context": "^1.0.5",
"cross-fetch": "^4.0.0",
"deepmerge": "^4.3.1",
"fastify": "^4.25.2",
"fastify-metrics": "^10.6.0",
"fastify-plugin": "^4.5.1",
"flat": "^5.0.2",
"helmet": "^7.0.0",
"holocron": "^1.9.2",
"holocron-module-route": "^1.7.0",
"immutable": "^4.1.0",
"ip": "^1.1.8",
"joi": "^17.6.0",
"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.16.1",
"pino-opentelemetry-transport": "^0.4.0",
"prom-client": "^15.1.0",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-redux": "^7.2.8",
"redux": "^4.2.0",
"redux-lifesaver": "^2.1.0",
"regenerator-runtime": "^0.13.9",
"reselect": "^4.1.6",
"semver": "^7.5.2",
"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.0",
"wildcard-match": "^5.1.2",
"yargs": "^17.5.1"
},
"devDependencies": {
"@americanexpress/one-app-dev-proxy": "^2.0.0",
"@americanexpress/one-service-worker": "^1.0.4",
"@babel/cli": "^7.19.3",
"@babel/core": "^7.22.15",
"@babel/node": "^7.18.10",
"@babel/register": "^7.22.15",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^17.7.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^4.0.0",
"amex-jest-preset": "^7.0.0",
"babel-eslint": "^10.1.0",
"babel-preset-amex": "^4.0.3",
"chokidar": "^3.5.3",
"concurrently": "^8.2.2",
"conventional-changelog-cli": "^2.2.2",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"danger": "^11.3.1",
"eslint": "^7.32.0",
"eslint-config-amex": "^14.2.1",
"eslint-plugin-es": "^4.1.0",
"eslint-plugin-jest": "^24.7.0",
"eslint-plugin-jest-dom": "^3.9.4",
"expect": "^29.6.2",
"find-up": "^5.0.0",
"fs-extra": "^11.1.0",
"https-proxy-agent": "^5.0.1",
"husky": "^8.0.1",
"if-env": "^1.0.4",
"jest": "^29.6.4",
"jest-circus": "^29.2.2",
"jest-environment-jsdom": "^28.1.2",
"js-yaml": "^4.1.0",
"lockfile-lint": "^4.12.1",
"lodash.set": "^4.3.2",
"mkdirp": "^2.1.5",
"node-fetch": "^2.6.7",
"node-mocks-http": "^1.11.0",
"nodemon": "^3.0.1",
"parse-prometheus-text-format": "^1.1.1",
"pino-pretty": "^10.2.3",
"prettier": "^2.7.1",
"proxy-agent": "^6.4.0",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.75.7",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^7.0.2",
"service-worker-mock": "^2.0.5",
"standard-version": "^9.5.0",
"supertest": "^6.2.4",
"tar": "^6.1.15",
"webdriverio": "^7.34.0"
},
"standard-version": {
"bumpFiles": [
"package.json",
"package-lock.json",
"one-app-statics/package.json"
],
"skip": {
"tag": true,
"changelog": true
}
}
}