-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
238 lines (238 loc) · 10.4 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
{
"name": "organisation-manager",
"version": "0.0.0",
"workspaces": [
"api"
],
"engines": {
"node": ">=18.17.0"
},
"scripts": {
"build": "export NODE_OPTIONS=--openssl-legacy-provider; yarn build:prod && yarn build:node",
"build:docker": "docker build . -t rpx-xui-approve-org",
"build:ng": "ng build",
"build:node": "cd api && yarn build",
"build:prod": "ng build --configuration production",
"clean": "rm -f -r node_modules && rm -f yarn.lock",
"e2e": "ng e2e",
"fortifyScan": "./test/java/gradlew -p test/java fortifyScan",
"json-server": "json-server db.json --port 1400",
"lint": "yarn lint:ng && yarn lint:node",
"lint:ng": "yarn eslint src",
"lint:node": "yarn eslint api",
"lint:test": "yarn eslint test",
"ng": "ng",
"pre-push": "yarn lint && yarn build:prod && ng test organisation-manager --code-coverage",
"publish-pact": "NODE_PATH=. NODE_CONFIG_DIR=./config LOG_LEVEL=error node -r ts-node/register -r dotenv-extended/config api/test/pact/publish/publish.ts dotenv_config_defaults=./api/.env.defaults",
"run:docker": "yarn build:docker && yarn start:docker",
"sonar-scan": "node_modules/sonar-scanner/bin/sonar-scanner",
"start": "node ./dist/organisation-manager/api/server.bundle.js",
"start:docker": "docker run -p 3000:3000 --env-file ./api/.env.defaults --env NODE_CONFIG_DIR= -v /mnt/secrets:/mnt/secrets rpx-xui-approve-org",
"start:ng": "ng serve --port 3000 --host 0.0.0.0 --proxy-config proxy.config.json",
"start:node": "cd api && yarn watch",
"test": "yarn test:ng",
"test:a11y1": "echo Test needs fix",
"test:a11yInTest": "yarn build && node ./test/backendMock/configCopy.js && NODE_CONFIG_ENV=mock TEST_TYPE=a11y PARALLEL=false npx codeceptjs run --config ./test/codeceptCommon/codeceptA11y.conf.ts",
"test:a11y": "echo runs in later step",
"test:api": "ts-node ./test/integration/tests/test.ts",
"test:can-i-deploy:consumer": "export VERSION=$(git rev-parse --short HEAD) && SSL_CERT_FILE=test/pact/cer/ca-bundle.crt pact-broker can-i-deploy --pacticipant 'xui_approveorg' --version ${VERSION} --broker-base-url https://pact-broker.platform.hmcts.net",
"test:coverage": "echo 'not implemented'",
"test:coverage:ng": "ng test organisation-manager --code-coverage --watch",
"test:coverage:node": "cd api && yarn coverage",
"test:crossbrowser": "yarn playwright install && npx playwright test -c playwright-nightly.config.ts",
"test:fullfunctional": "yarn test:api && webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/fullfunctional.conf.js",
"test:fullfunctional:local": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/fullfunctional.conf.js --local",
"test:functional": "yarn playwright install chromium && npx playwright test -c playwright.config.ts && yarn run test:a11yInTest",
"test:functional:local": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/functional.conf.js --local",
"test:mutation": "NODE_CONFIG_DIR=./config stryker run stryker.node.conf.js ",
"test:ng": "ng test",
"test:ng:watch": "ng test --watch",
"test:ngIntegration": "webdriver-manager update --versions.chrome 2.40 && yarn test:ngIntegrationMockEnv && ng e2e --webdriver-update=false --protractor-config=./test/ngIntegration/config/protractor-cucumber.conf.js",
"test:ngIntegrationMockEnv": "node -e 'require(`./test/nodeMock/availablePortFinder.js`).configureTestProxyPort()'",
"test:node": "cd api && yarn test",
"test:node:watch": "cd api && yarn test:watch",
"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 dotenv_config_defaults=./api/.env.defaults api/test/pact/pact-tests/**/*.spec.ts",
"test:pact:run-and-publish": "yarn test-pact && yarn publish-pact",
"test:smoke": " yarn playwright install chromium && TEST_TYPE=smoke npx codeceptjs run --plugins cucumberJsonReporter --plugins retryFailedStep --config ./test/codeceptCommon/codecept.conf.ts --features",
"test:smoke:local": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/smoke.conf.js --local",
"test:codeceptE2EDebug": "DEBUG=true TEST_TYPE=e2e npx codeceptjs run --plugins cucumberJsonReporter --plugins retryFailedStep --config ./test/codeceptCommon/codecept.conf.ts --features",
"test:codeceptE2E": "TEST_TYPE=e2e npx codeceptjs run-workers --suites 6 --plugins cucumberJsonReporter --plugins retryFailedStep --config ./test/codeceptCommon/codecept.conf.ts --features",
"test:backendMock": "DEBUG=true nodemon test/backendMock/app --standalone"
},
"private": true,
"dependencies": {
"@angular/animations": "^17.3.5",
"@angular/cdk": "^16.2.12",
"@angular/common": "^17.3.5",
"@angular/compiler": "^17.3.5",
"@angular/core": "^17.3.5",
"@angular/forms": "^17.3.5",
"@angular/material": "16.2.12",
"@angular/platform-browser": "^17.3.5",
"@angular/platform-browser-dynamic": "^17.3.5",
"@angular/platform-server": "17.3.5",
"@angular/router": "^17.3.5",
"@angular/ssr": "^17.3.5",
"@hmcts/ccd-case-ui-toolkit": "7.0.0-NodeAndNgUpgrades.1",
"@hmcts/frontend": "0.0.41-alpha",
"@hmcts/nodejs-healthcheck": "1.7.0",
"@hmcts/properties-volume": "^0.0.13",
"@hmcts/rpx-xui-common-lib": "2.0.23",
"@hmcts/rpx-xui-node-lib": "2.30.0",
"@ng-idle/core": "^14.0.0",
"@ng-idle/keepalive": "^14.0.0",
"@ngrx/effects": "^16.3.0",
"@ngrx/router-store": "^16.3.0",
"@ngrx/store": "^16.3.0",
"@ngrx/store-devtools": "^16.3.0",
"@playwright/test": "^1.49.1",
"@rxweb/reactive-form-validators": "2.1.2",
"@types/crypto-js": "^4.2.2",
"@types/express-session": "^1.17.0",
"@types/multer": "^1.4.5",
"@types/passport": "^1.0.3",
"applicationinsights": "1.7.2",
"applicationinsights-js": "^1.0.20",
"axios": "^0.21.1",
"axios-mock-adapter": "^1.18.2",
"base-64": "^0.1.0",
"config": "^3.2.5",
"connect-redis": "^4.0.4",
"cookie-parser": "^1.4.4",
"core-js": "2.6.12",
"crypto-js": "^4.2.0",
"csurf": "^1.11.0",
"dotenv-extended": "^2.7.1",
"ejs": "~3.1.7",
"exception-formatter": "^1.0.7",
"express": "^4.16.4",
"express-session": "^1.15.6",
"form-data": "^3.0.0",
"get-port": "^5.1.1",
"git-rev-sync": "^2.0.0",
"global-agent": "^2.1.8",
"govuk-frontend": "4.0.1",
"helmet": "^3.21.3",
"isomorphic-fetch": "^3.0.0",
"json-stringify-safe": "^5.0.1",
"jsonwebtoken": "^8.5.1",
"jwt-decode": "^2.2.0",
"launchdarkly-js-client-sdk": "^2.16.3",
"log4js": "^3.0.6",
"multer": "^1.4.2",
"ngx-cookie": "6.0.1",
"ngx-cookie-service": "^17.0.0",
"ngx-logger": "^5.0.12",
"ngx-pagination": "^6.0.3",
"node-fetch": "^2.6.1",
"openid-client": "^3.14.2",
"otp": "^0.1.3",
"p-iteration": "^1.1.7",
"passport": "^0.4.1",
"path": "^0.12.7",
"protractor-screenshot-utils": "^1.0.6",
"redis": "^3.0.2",
"rpx-xui-translation": "1.0.3-angular-upgrade-17-rc",
"rxjs": "^7.8.1",
"rxjs-compat": "^6.6.7",
"session-file-store": "^1.2.0",
"shortid": "^2.2.14",
"smoothscroll-polyfill": "^0.4.3",
"sonar-scanner": "3.1.0",
"striptags": "^3.1.1",
"tslib": "^2.6.1",
"zone.js": "~0.14.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.3.5",
"@angular-devkit/core": "^17.3.5",
"@angular/cli": "17.3.5",
"@angular/compiler-cli": "^17.3.5",
"@angular/language-service": "^17.3.5",
"@cucumber/cucumber": "^9.5.1",
"@pact-foundation/pact": "^9.11.1",
"@pact-foundation/pact-node": "^10.9.7",
"@stryker-mutator/api": "^4.0.8",
"@stryker-mutator/core": "^4.0.8",
"@stryker-mutator/html-reporter": "^3.1.0",
"@stryker-mutator/karma-runner": "^4.0.8",
"@stryker-mutator/mocha-runner": "^4.0.8",
"@stryker-mutator/typescript": "^4.0.0",
"@types/applicationinsights-js": "^1.0.9",
"@types/chai": "^4.3.6",
"@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/global-agent": "^2.1.0",
"@types/jasmine": "~4.3.5",
"@types/jasminewd2": "~2.0.3",
"@types/mocha": "^10.0.1",
"@types/mochawesome": "^6.2.1",
"@types/multer": "^1.4.5",
"@types/node": "^18.17.0",
"@types/passport": "^1.0.3",
"@types/shortid": "0.0.29",
"@types/sinon": "^7.0.13",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"allure-js-commons": "^1.3.2",
"chai": "^4.3.8",
"chai-as-promised": "7.1.1",
"codeceptjs": "^3.5.10",
"codeceptjs-cucumber-json-reporter": "^1.0.14",
"codelyzer": "^6.0.0",
"cucumber-html-reporter": "^7.1.1",
"cucumber-pretty": "6.0.1",
"eslint": "^8.37.0",
"jasmine-core": "~5.1.0",
"jasmine-marbles": "^0.9.2",
"jasmine-spec-reporter": "~7.0.0",
"json-server": "^0.14.2",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"karma-spec-reporter": "0.0.34",
"mocha": "^10.2.0",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.1.0",
"mochawesome-report-generator": "^6.2.0",
"ng-packagr": "^17.3.0",
"ngrx-store-freeze": "^0.2.4",
"node-html-parser": "^6.1.11",
"nodemon": "^2.0.19",
"pa11y": "^6.2.3",
"playwright": "^1.42",
"portfinder": "^1.0.28",
"protractor": "~7.0.0",
"protractor-cucumber-framework": "^9.7.0",
"protractor-multiple-cucumber-html-reporter-plugin": "1.8.0",
"sinon": "^7.2.3",
"sinon-chai": "^3.3.0",
"sinon-express-mock": "^2.2.0",
"source-map-support": "^0.5.19",
"terser-webpack-plugin": "^5.3.3",
"ts-loader": "9.4.4",
"ts-node": "10.8.1",
"ts-node-dev": "^2.0.0-0",
"typescript": "5.4.5",
"webpack": "^5.73.0",
"webpack-cli": "^4.4.0",
"webpack-dev-server": "^4.9.4",
"webpack-node-externals": "^1.7.2"
},
"resolutions": {
"lodash": "^4.17.21",
"minimist": "^1.2.8",
"loader-utils": "~2.0.3",
"async": "~3.2.2"
},
"packageManager": "yarn@3.6.3"
}