-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
276 lines (276 loc) · 12.7 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
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
{
"name": "rpx-exui",
"version": "7.0.15",
"engines": {
"node": ">=18.17.0"
},
"scripts": {
"build": "yarn build:prod && yarn build:node",
"build:dev": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --configuration=development && yarn build:node:dev",
"build:docker": "docker build -t xui .",
"build:ng": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --configuration production build",
"build:node": "cd api && yarn build",
"build:node:dev": "cd api && yarn build:dev",
"build:prod": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --configuration production",
"fix_dependencies": "sed -i \"s|\\$colour: quote(\\$colour);|\\$colour: quote(\\\"#{\\$colour}\\\");|g\" ./node_modules/govuk-frontend/govuk/helpers/_colour.scss",
"cve": "yarn audit --groups dependencies --json | grep auditAdvisory > yarn-audit-known-issues",
"clean": "rimraf node_modules",
"coverage:node": "cd api && yarn coverage",
"e2e": "ng e2e",
"fortifyScan": "./test_codecept/java/gradlew -p test_codecept/java fortifyScan",
"lint": "yarn lint:ng && yarn lint:node",
"lint:ng": "ng lint rpx-exui",
"lint:node": "cd api && yarn lint",
"lint:test": "npx eslint test",
"ng": "ng",
"nuke": "rm -rf dist",
"pact-stub": "$(find . -name pact-stub-service | grep -e 'bin/pact-stub-service$' | head -n 1) ./api/test/pact/pacts/ --port 8080",
"pre-push": "yarn lint && yarn build:prod && ng test --code-coverage",
"publish-pact": "NODE_PATH=. NODE_CONFIG_DIR=./config LOG_LEVEL=error mocha --timeout 15000 -r ts-node/register -r dotenv-extended/config api/test/pact/publish/publish.ts dotenv_config_defaults=./api/.env.defaults --reporter spec",
"sonar-scan": "node_modules/sonar-scanner/bin/sonar-scanner",
"start": "node ./dist/rpx-exui/api/server.bundle.js",
"start:local": "cd api && yarn start",
"start:node": "cd api && yarn watch",
"start:node:demo": "NODE_CONFIG_ENV=demo && cd api && yarn watch",
"start:node:dev": "NODE_CONFIG_ENV=development && cd api && yarn watch",
"start:node:development": "NODE_CONFIG_ENV=development && cd api && yarn watch",
"start:node:stub": "NODE_CONFIG_ENV=stub && cd api && yarn watch",
"test:node": "cd api && yarn coverage",
"start:ng": "ng serve --port 3000 --host 0.0.0.0 --proxy-config proxy.config.json",
"test": "cd api && yarn coverage",
"test:api": "mocha -r ts-node/register --config ./test_codecept/integration/tests/mocha.json --reporter mochawesome --reporter-options reportDir=functional-output/tests/api_functional,reportFilename=mochawesome",
"test:apiGateway": "echo 'not implemented'",
"test:coverage": "yarn test:coverage:ng",
"test:coverage:all": "yarn test:coverage:ng && yarn test:coverage:node",
"test:coverage:merge": "./node_modules/.bin/lcov-result-merger './reports/tests/coverage/*/lcov.info' > ./reports/tests/coverage/lcov.info",
"test:coverage:node": "cd api && yarn coverage",
"test:coverage:ng": "ng test --code-coverage --source-map",
"test:a11y": "",
"test:a11y1": "echo disabled to fix tests",
"test:a11yInTests": "node ./test_codecept/backendMock/configCopy.js && NODE_CONFIG_ENV=mock TEST_TYPE=a11y PARALLEL=false npx codeceptjs run --config=./test_codecept/codeceptCommon/codeceptA11y.conf.ts",
"test:all": "yarn test:ng && yarn test:node && yarn test:smoke && yarn test:functional && yarn test:crossbrowser",
"test:smoke": "yarn playwright install chromium && TEST_TYPE=smoke npx codeceptjs run --plugins cucumberJsonReporter --plugins retryFailedStep --config ./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @smoke --reporter mochawesome",
"test:smoke:local": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/smoke.conf.js --local",
"test:crossbrowser": "yarn playwright install && npx playwright test -c playwright-nightly.config.ts",
"test:fullfunctional": "yarn playwright install && npm-run-all -p -l -n -c test:api test:xuiIntegration test:codeceptE2E",
"test:playwrightE2E": "yarn playwright install && npx playwright test --project chromium",
"test:functional1": "yarn run test:xuiIntegration && yarn run test:functionalApiE2e",
"test:functional": "npm run test:a11yInTests && npm-run-all -p -l -n -c test:api test:xuiIntegration test:codeceptE2E test:playwrightE2E",
"test:functionalApiE2e": "yarn run test:api && yarn run test:codeceptE2E",
"test:mutation": "NODE_CONFIG_DIR=./config stryker run stryker.node.conf.js ",
"test:ng": "ng test",
"test:ng:watch": "ng test --watch=true",
"test:nodeMock": "nodemon test/nodeMock/app --standalone",
"test-pact": "NODE_PATH=. NODE_CONFIG_DIR=./config LOG_LEVEL=error mocha --timeout 10000 -r ts-node/register -r dotenv-extended/config api/test/pact/**/*.spec.ts dotenv_config_defaults=./api/.env.defaults",
"test:pact:run-and-publish": "yarn test-pact && yarn publish-pact",
"test:backendMock": "DEBUG=true nodemon test_codecept/backendMock/app --standalone",
"test:codeceptE2EDebug": "TEST_TYPE=e2e npx codeceptjs run --plugins retryFailedStep --plugins cucumberJsonReporter --config ./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @functional_debug",
"test:codeceptE2E": "PARALLEL=true TEST_TYPE=e2e npx codeceptjs run-workers --suites 4 --plugins cucumberJsonReporter --plugins retryFailedStep --config ./test_codecept/codeceptCommon/codecept.conf.ts --features --grep functional_enabled",
"test:xuiIntegrationDebug": "DEBUG=true NODE_CONFIG_ENV=mock TEST_TYPE=ngIntegration npx codeceptjs run -p pauseOnFail --config ./test_codecept/codeceptCommon/codecept.conf.ts --features --grep '(?=.*@functional_debug)^(?!.*@ignore)' ",
"test:xuiIntegration": "yarn build && node ./test_codecept/backendMock/configCopy.js && NODE_CONFIG_ENV=mock TEST_TYPE=ngIntegration PARALLEL=true npx codeceptjs run-workers --suites 8 --config ./test_codecept/codeceptCommon/codecept.conf.ts --features --grep '(?=.*@functional_enabled)^(?!.*@ignore)' ",
"parallel": "npm-run-all -l -p test:api test:xuiIntegration test:codeceptE2E"
},
"private": true,
"dependencies": {
"@angular-material-components/datetime-picker": "16.0.1",
"@angular/animations": "^17.3.6",
"@angular/cdk": "^17.3.6",
"@angular/common": "^17.3.6",
"@angular/compiler": "^17.3.6",
"@angular/core": "^17.3.6",
"@angular/forms": "^17.3.6",
"@angular/material": "^16.2.0",
"@angular/platform-browser": "^17.3.6",
"@angular/platform-browser-dynamic": "^17.3.6",
"@angular/router": "^17.3.6",
"@angular/ssr": "^17.3.6",
"@cucumber/cucumber": "^10.8.0",
"@edium/fsm": "^2.1.2",
"@faker-js/faker": "^9.2.0",
"@hmcts/ccd-case-ui-toolkit": "7.1.25",
"@hmcts/ccpay-web-component": "6.2.1",
"@hmcts/frontend": "0.0.50-alpha",
"@hmcts/media-viewer": "4.0.9",
"@hmcts/nodejs-healthcheck": "1.7.0",
"@hmcts/properties-volume": "^0.0.13",
"@hmcts/rpx-xui-common-lib": "2.0.30",
"@hmcts/rpx-xui-node-lib": "2.30.1",
"@microsoft/applicationinsights-web": "^3.1.0",
"@ng-idle/core": "^14.0.0",
"@ng-idle/keepalive": "^14.0.0",
"@ngrx/effects": "^17.2.0",
"@ngrx/router-store": "^17.2.0",
"@ngrx/store": "^17.2.0",
"@ngrx/store-devtools": "^17.2.0",
"@nicky-lenaers/ngx-scroll-to": "^14.0.0",
"accessibility-checker": "^3.1.70",
"applicationinsights": "1.8.10",
"axios": "^1.7.7",
"axios-mock-adapter": "^1.22.0",
"class-transformer": "^0.5.0",
"compression": "^1.7.4",
"config": "^3.2.5",
"cookie-parser": "^1.4.4",
"core-js": "^3.19.3",
"crypto-js": "^4.2.0",
"csurf": "^1.11.0",
"dotenv-extended": "^2.7.1",
"ejs": "^3.1.10",
"eligrey-classlist.js": "^1.2.20180112",
"exceljs": "^4.4.0",
"exception-formatter": "1.0.7",
"file-saver": "^2.0.2",
"form-data": "^2.5.1",
"get-port": "^5.1.1",
"git-rev-sync": "^3.0.2",
"global-agent": "^2.1.7",
"govuk-elements-sass": "^3.1.3",
"govuk-frontend": "^3.12.0",
"govuk_frontend_toolkit": "^9.0.0",
"helmet": "^3.21.3",
"http-proxy-middleware": "3.0.3",
"isomorphic-fetch": "^3.0.0",
"karma-coverage": "^2.2.1",
"launchdarkly-js-client-sdk": "^2.16.3",
"local-storage": "^2.0.0",
"lodash": "^4.17.21",
"lz-string": "^1.5.0",
"marked": "^12.0.2",
"material-design-icons": "^3.0.1",
"moment-timezone": "^0.5.28",
"ngx-chips": "3.0.0",
"ngx-logger": "^5.0.12",
"ngx-markdown": "^17.2.1",
"ngx-pagination": "^6.0.3",
"node-http-proxy-json": "^0.1.9",
"otplib": "^12.0.1",
"p-iteration": "^1.1.7",
"pegjs": "^0.10.0",
"portfinder": "^1.0.28",
"protractor-screenshot-utils": "^1.0.5",
"rpx-xui-translation": "1.0.10",
"rx-polling-hmcts": "1.1.1",
"rxjs": "^7.8.1",
"shortid": "^2.2.14",
"smoothscroll-polyfill": "^0.4.3",
"stream": "^0.0.2",
"striptags": "^3.1.1",
"ts-enum-util": "4.1.0",
"tslib": "^2.6.1",
"web-animations-js": "^2.3.2",
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~17.3.6",
"@angular-eslint/builder": "17.5.3",
"@angular-eslint/eslint-plugin": "17.5.3",
"@angular-eslint/eslint-plugin-template": "17.5.3",
"@angular-eslint/schematics": "17.5.3",
"@angular-eslint/template-parser": "17.5.3",
"@angular-material-components/moment-adapter": "^16.0.1",
"@angular/cli": "^17.3.6",
"@angular/compiler-cli": "^17.3.6",
"@angular/language-service": "~17.3.6",
"@axe-core/playwright": "^4.9.1",
"@ngrx/schematics": "^17.2.0",
"@pact-foundation/pact": "^9.11.1",
"@pact-foundation/pact-node": "^10.9.7",
"@playwright/test": "^1.42.0",
"@stryker-mutator/api": "^8.0.0",
"@stryker-mutator/core": "^8.0.0",
"@stryker-mutator/html-reporter": "^3.1.0",
"@stryker-mutator/karma-runner": "^8.0.0",
"@stryker-mutator/mocha-runner": "^3.0.1",
"@stryker-mutator/typescript": "^4.0.0",
"@types/config": "^0.0.36",
"@types/cookie-parser": "^1.4.2",
"@types/crypto-js": "^3.1.43",
"@types/csurf": "^1.11.0",
"@types/ejs": "^2.6.3",
"@types/express": "^4.16.1",
"@types/express-session": "^1.17.0",
"@types/faker": "^5.1.2",
"@types/global-agent": "^2.1.0",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3",
"@types/mocha": "^8.0.3",
"@types/node": "^18.17.0",
"@types/shortid": "0.0.29",
"@types/sinon": "^7.0.13",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"allure-js-commons": "^2.11.1",
"axe-html-reporter": "^2.2.3",
"base-64": "^0.1.0",
"chai": "^4.3.10",
"chai-as-promised": "7.1.2",
"codeceptjs": "3.5.6",
"codeceptjs-cucumber-json-reporter": "^1.0.14",
"codelyzer": "^5.1.2",
"cucumber": "5.1.0",
"cucumber-html-report": "0.6.5",
"cucumber-html-reporter": "^7.1.1",
"cucumber-pretty": "^6.0.1",
"cucumberjs-allure-reporter": "1.0.3",
"eslint": "^8.37.0",
"jasmine-core": "~3.99.0",
"jasmine-marbles": "^0.9.1",
"jasmine-spec-reporter": "~4.2.1",
"jsonpath": "^1.1.1",
"jsonwebtoken": "^9.0.2",
"karma": "~6.4.2",
"karma-chrome-launcher": "3.1.1",
"karma-coverage": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "^1.4.0",
"karma-parallel": "^0.3.1",
"karma-sonarqube-unit-reporter": "^0.0.23",
"karma-spec-reporter": "0.0.36",
"mocha": "^8.1.1",
"mochawesome": "^6.2.1",
"mochawesome-merge": "^4.3.0",
"mochawesome-report-generator": "^5.1.0",
"ngrx-store-freeze": "^0.2.4",
"node-fetch": "^2.6.1",
"node-html-parser": "^6.1.5",
"nodemon": "^2.0.19",
"npm-run-all": "^4.1.5",
"pa11y": "^5.3.0",
"playwright": "^1.42",
"protractor": "~7.0.0",
"protractor-cucumber-framework": "^9.7.0",
"protractor-multiple-cucumber-html-reporter-plugin": "1.8.1",
"puppeteer": "^22.4.1",
"sass": "^1.66.1",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0",
"sinon-express-mock": "^2.2.0",
"sonar-scanner": "^3.1.0",
"terser-webpack-plugin": "^5.3.3",
"ts-loader": "^9.4.4",
"ts-node": "~10.9.0",
"typescript": "~5.4.5",
"underscore": "^1.13.6",
"uuid": "^8.3.1",
"webpack": "^5.94.0",
"webpack-cli": "^4.10.0",
"webpack-node-externals": "^3.0.0",
"webpack-source-map-support": "^2.0.1"
},
"browser": {
"crypto": false
},
"resolutions": {
"flat": "~5.0.1",
"loader-utils": "~2.0.3",
"minimist": "^1.2.8",
"typed-rest-client": "^1.8.0",
"lodash": "^4.17.21",
"braces": "^3.0.3",
"ws": "^8.18.0",
"axios": "1.7.9",
"webpack": "^5.94.0"
},
"packageManager": "yarn@4.6.0"
}