forked from americanexpress/one-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
212 lines (212 loc) · 8.57 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
{
"name": "@americanexpress/one-app",
"version": "6.4.0",
"description": "One Amex SPA technology stack.",
"main": "index.js",
"engines": {
"node": ">=16",
"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": "if-node-version \">16\" && npm run build:bundle:gt-16 || npm run build:bundle:16",
"build:bundle:gt-16": "cross-env \"NODE_OPTIONS=--max-old-space-size=4096 --openssl-legacy-provider\" bundle-one-app",
"build:bundle:16": "cross-env NODE_OPTIONS=--max-old-space-size=4096 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 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 <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.2",
"@americanexpress/fetch-enhancers": "^1.1.3",
"@americanexpress/lumberjack": "^1.1.4",
"@americanexpress/one-app-bundler": "^6.15.4",
"@americanexpress/one-app-ducks": "^4.4.1",
"@americanexpress/one-app-router": "^1.2.1",
"@americanexpress/vitruvius": "^2.0.2",
"@fastify/compress": "^6.1.1",
"@fastify/cookie": "^8.3.0",
"@fastify/cors": "^8.2.0",
"@fastify/formbody": "^7.3.0",
"@fastify/helmet": "^9.1.0",
"@fastify/rate-limit": "^7.6.0",
"@fastify/sensible": "^5.1.1",
"@fastify/static": "^6.5.0",
"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.27.1",
"create-shared-react-context": "^1.0.5",
"cross-fetch": "^3.1.5",
"fastify": "^4.10.2",
"fastify-plugin": "^4.2.0",
"helmet": "^6.0.0",
"holocron": "^1.7.0",
"holocron-module-route": "^1.7.0",
"if-env": "^1.0.4",
"immutable": "^4.1.0",
"ip": "^1.1.8",
"joi": "^17.6.0",
"lean-intl": "^4.2.2",
"matcher": "^4.0.0",
"node-fetch": "^2.6.7",
"object-hash": "^3.0.0",
"opossum": "^7.1.0",
"opossum-prometheus": "^0.3.0",
"pidusage": "^3.0.2",
"prom-client": "^14.2.0",
"prop-types": "^15.8.1",
"proxy-agent": "^5.0.0",
"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.3.7",
"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",
"yargs": "^17.5.1"
},
"devDependencies": {
"@americanexpress/one-app-dev-cdn": "^3.3.2",
"@americanexpress/one-app-dev-proxy": "^1.0.0",
"@americanexpress/one-service-worker": "^1.0.4",
"@babel/cli": "^7.19.3",
"@babel/core": "^7.18.6",
"@babel/node": "^7.18.10",
"@babel/register": "^7.18.6",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.3.0",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"amex-jest-preset": "^7.0.0",
"babel-eslint": "^10.1.0",
"babel-preset-amex": "^4.0.0",
"chokidar": "^3.5.3",
"concurrently": "^7.3.0",
"conventional-changelog-cli": "^2.2.2",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"danger": "^11.2.2",
"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": "^28.1.1",
"find-up": "^5.0.0",
"fs-extra": "^11.1.0",
"https-proxy-agent": "^5.0.1",
"husky": "^8.0.1",
"if-node-version": "^1.1.1",
"jest": "^29.0.1",
"jest-circus": "^29.2.2",
"jest-environment-jsdom": "^28.1.2",
"js-yaml": "^4.1.0",
"lockfile-lint": "^4.9.6",
"lodash.set": "^4.3.2",
"markdown-table": "^3.0.2",
"mkdirp": "^2.1.5",
"node-mocks-http": "^1.11.0",
"nodemon": "^2.0.20",
"ora": "^5.4.1",
"parse-prometheus-text-format": "^1.1.1",
"prettier": "^2.7.1",
"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.11",
"webdriverio": "^7.20.5"
},
"standard-version": {
"bumpFiles": [
"package.json",
"package-lock.json",
"one-app-statics/package.json"
],
"skip": {
"tag": true,
"changelog": true
}
}
}