forked from hmcts/rpx-xui-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
231 lines (231 loc) · 9.99 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
{
"name": "rpx-exui",
"version": "0.0.0",
"engines": {
"node": ">=12.13.0"
},
"scripts": {
"nuke": "rm -rf dist",
"build": "yarn build:prod && yarn build:node",
"pre-push": "yarn lint && yarn build:prod && ng test --code-coverage",
"start": "node ./dist/rpx-exui/api/server.bundle.js",
"start:local": "cd api && yarn start",
"build:node": "cd api && yarn build",
"build:prod": "ng build --prod",
"start:node": "cd api && yarn watch",
"start:node:stub": "NODE_CONFIG_ENV=stub cd api && yarn watch",
"pact-stub": "$(find . -name pact-stub-service | grep -e 'bin/pact-stub-service$' | head -n 1) ./api/test/pact/pacts/ --port 8080",
"lint:node": "cd api && yarn lint",
"test:node": "cd api && yarn test",
"coverage:node": "cd api && yarn coverage",
"ng": "ng",
"start:ng": "ng serve --port 3000 --host 0.0.0.0 --proxy-config proxy.config.json",
"build:ng": "ng build",
"build:docker": "docker build -t xui .",
"lint": "yarn lint:ng && yarn lint:node",
"test": "cd api && yarn coverage && cd .. && yarn test:ng",
"test:ng": "ng test",
"test:ng:watch": "ng test --watch=true",
"lint:ng": "ng lint",
"e2e": "ng e2e",
"test:coverage": "echo 'not implemented'",
"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": "yarn test:ng --source-map --code-coverage",
"test:a11y1": "echo 'disabled to fix node mock to support tests'",
"test:a11y": "webdriver-manager update --gecko=false --versions.chrome 2.40 && ng e2e --webdriver-update=false --protractorConfig=./test/accessibility/config/pa11yProtractor.conf.js",
"test:all": "yarn test:ng && yarn test:node && yarn test:smoke && yarn test:functional && yarn test:crossbrowser",
"test:smoke": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/smoke.conf.js",
"test:smoke:local": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/smoke.conf.js --local",
"test:functional": "yarn test:ngIntegration && yarn test:api && yarn test:functionalE2E",
"test:functionalE2E": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/functional.conf.js",
"test:functional:backup": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/conf.js --local",
"test:functional:local": "yarn test:ngIntegration && webdriver-manager update --versions.chrome 2.40 && protractor ./test/e2e/config/functional.conf.js --local",
"test:crossbrowser": "protractor ./test/e2e/config/crossbrowser.conf.js",
"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:mutation": "NODE_CONFIG_DIR=./config stryker run stryker.node.conf.js ",
"test:apiGateway": "echo 'not implemented'",
"sonar-scan": "node_modules/sonar-scanner/bin/sonar-scanner",
"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",
"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",
"test:pact:run-and-publish": "yarn test-pact && yarn publish-pact",
"test:api": "mocha -r ts-node/register --config ./test/integration/tests/mocha.json --reporter mochawesome --reporter-options reportDir=reports/tests/api_functional,reportFilename=mochawesome",
"test:ngIntegration": "webdriver-manager update --versions.chrome 2.40 && ng e2e --webdriver-update=false --protractorConfig=./test/ngIntegration/config/protractor-cucumber.conf.js",
"test:ngIntegrationDebug": "webdriver-manager update --versions.chrome 2.40 && protractor ./test/ngIntegration/config/protractor-cucumber.conf.js --debug",
"test:nodeMock": "nodemon test/nodeMock/app --standalone"
},
"private": true,
"dependencies": {
"@angular/animations": "^7.2.13",
"@angular/cdk": "^7.3.7",
"@angular/common": "^7.2.13",
"@angular/compiler": "^7.2.13",
"@angular/core": "^7.2.13",
"@angular/forms": "^7.2.13",
"@angular/http": "^7.2.13",
"@angular/material": "^7.3.7",
"@angular/platform-browser": "^7.2.13",
"@angular/platform-browser-dynamic": "^7.2.13",
"@angular/router": "^7.2.13",
"@hmcts/ccd-case-ui-toolkit": "4.3.0",
"@hmcts/ccpay-web-component": "3.0.3",
"@hmcts/frontend": "0.0.39-alpha",
"@hmcts/media-viewer": "2.7.7",
"@hmcts/nodejs-healthcheck": "^1.7.0",
"@hmcts/properties-volume": "^0.0.9",
"@hmcts/rpx-xui-common-lib": "1.4.0",
"@hmcts/rpx-xui-node-lib": "2.25.4",
"@ng-idle/core": "^8.0.0-beta.4",
"@ng-idle/keepalive": "^8.0.0-beta.4",
"@ngrx/effects": "^7.4.0",
"@ngrx/router-store": "^7.4.0",
"@ngrx/store": "^7.4.0",
"@ngrx/store-devtools": "^7.4.0",
"@nguniversal/express-engine": "^7.1.1",
"@nicky-lenaers/ngx-scroll-to": "^1.1.1",
"accessibility-checker": "^3.0.6",
"applicationinsights": "1.7.2",
"applicationinsights-js": "^1.0.20",
"axios": "^0.21.1",
"axios-mock-adapter": "^1.18.2",
"class-transformer": "^0.3.2",
"config": "^3.2.5",
"cookie-parser": "^1.4.4",
"core-js": "^2.5.4",
"crypto-js": "^3.1.9-1",
"csurf": "^1.11.0",
"dotenv-extended": "^2.7.1",
"ejs": "^2.6.1",
"eligrey-classlist.js": "^1.2.20180112",
"exception-formatter": "1.0.7",
"faker": "^5.1.0",
"file-saver": "^2.0.2",
"form-data": "^2.5.1",
"get-port": "^5.1.1",
"git-rev-sync": "^2.0.0",
"global-agent": "^2.1.7",
"govuk-frontend": "^3.12.0",
"govuk_frontend_toolkit": "^9.0.0",
"helmet": "^3.21.3",
"http-proxy-middleware": "1.1.x",
"isomorphic-fetch": "^3.0.0",
"launchdarkly-js-client-sdk": "^2.16.3",
"mochawesome": "^6.2.1",
"mochawesome-merge": "^4.1.0",
"mochawesome-report-generator": "^5.1.0",
"moment-timezone": "^0.5.28",
"ngx-chips": "1.9.8",
"ngx-logger": "^4.0.4",
"ngx-md": "^7.0.0",
"ngx-pagination": "^3.2.1",
"node-http-proxy-json": "^0.1.9",
"p-iteration": "^1.1.7",
"protractor-screenshot-utils": "^1.0.5",
"rxjs": "^6.0.0",
"rxjs-compat": "^6.4.0",
"shortid": "^2.2.14",
"smoothscroll-polyfill": "^0.4.3",
"striptags": "^3.1.1",
"terser-webpack-plugin": "^2.3.5",
"tslib": "^1.9.0",
"web-animations-js": "^2.3.2",
"xlsx": "^0.15.4",
"zone.js": "~0.11.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.13.0",
"@angular-material-components/datetime-picker": "^2.0.4",
"@angular-material-components/moment-adapter": "^5.0.0",
"@angular-devkit/build-webpack": "^0.1201.1",
"@angular/cli": "^6.0.8",
"@angular/compiler-cli": "^7.2.13",
"@angular/language-service": "~7.2.0",
"@ngrx/schematics": "^7.4.0",
"@pact-foundation/pact": "^9.11.1",
"@pact-foundation/pact-node": "^10.9.7",
"@stryker-mutator/api": "^3.0.1",
"@stryker-mutator/core": "^3.0.1",
"@stryker-mutator/html-reporter": "^3.0.1",
"@stryker-mutator/karma-runner": "^3.0.1",
"@stryker-mutator/mocha-runner": "^3.0.1",
"@stryker-mutator/typescript": "^3.0.1",
"@types/applicationinsights-js": "^1.0.9",
"@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": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/mocha": "^8.0.3",
"@types/shortid": "0.0.29",
"@types/sinon": "^7.0.13",
"base-64": "^0.1.0",
"chai": "^4.2.0",
"chai-as-promised": "7.1.1",
"codelyzer": "~4.5.0",
"cucumber": "5.1.0",
"cucumber-html-report": "0.6.5",
"cucumber-html-reporter": "^4.0.5",
"cucumber-pretty": "1.5.0",
"cucumberjs-allure-reporter": "1.0.3",
"jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.5.0",
"jasmine-spec-reporter": "~4.2.1",
"jsonpath": "^1.1.1",
"jsonwebtoken": "^8.5.1",
"karma": "~6.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-spec-reporter": "^0.0.32",
"mocha": "^8.1.1",
"ngrx-store-freeze": "^0.2.4",
"node-fetch": "^2.6.1",
"node-sass": "^4.0.0",
"nodemon": "^2.0.2",
"pa11y": "^5.3.0",
"protractor": "~5.4.0",
"protractor-cucumber-framework": "6.1.1",
"protractor-multiple-cucumber-html-reporter-plugin": "1.8.0",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0",
"sinon-express-mock": "^2.2.0",
"sonar-scanner": "^3.1.0",
"ts-loader": "^6.2.1",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.2.2",
"underscore": "^1.9.1",
"uuid": "^8.3.1",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-node-externals": "^1.7.2",
"webpack-source-map-support": "^2.0.1"
},
"resolutions": {
"**/**/dot-prop": "^5.1.1",
"**/**/lodash": "^4.17.19",
"**/**/http-proxy": "^1.18.1",
"**/**/npm-registry-fetch": "^8.1.1",
"**/**/yargs-parser": "^18.1.2",
"**/**/minimist": "^1.2.3",
"**/**/mem": "^4.0.0",
"**/**/braces": "^2.3.1",
"**/**/marked": "^0.7.0",
"**/**/serialize-javascript": "^3.1.0",
"**/**/ini": "^1.3.6",
"**/**/chromedriver": "^87.0.5",
"**/**/prismjs": "^1.23.0",
"**/**/y18n": "^3.2.2",
"**/**/ssri": "8.0.1",
"**/**/jose": "1.28.1"
}
}