-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
200 lines (200 loc) · 8.03 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
{
"name": "@hmcts/media-viewer",
"version": "4.0.8",
"scripts": {
"ng": "ng",
"start": "ng serve",
"makefile": "yarn package && yarn start:ng;",
"start:ng": "ng serve --proxy-config proxy.config.js",
"start:api": "node ./dist/api/server.js",
"setup": "yarn setup:api && yarn setup:demo",
"setup:api": "cross-env NODE_PATH=. rm -rf ./dist/api && tsc -p ./api --outDir dist/api",
"setup:demo": "yarn build && yarn copy:demo-files",
"package": "yarn build:lib && yarn copy:lib-files && yarn npm-pack",
"build": "yarn build:lib && yarn build:demo",
"build:lib": "cd projects/media-viewer && yarn install && ng build --configuration production",
"build:demo": "ng build media-viewer-demo-app --configuration production",
"copy:lib-files": "yarn copy:lib-js-dependencies && yarn copy:lib-assets && yarn copy:docs",
"copy:demo-files": "yarn copy:demo-js-dependencies && yarn copy:demo-assets",
"copy:lib-js-dependencies": "cross-env NODE_PATH=. rsync -r projects/media-viewer/node_modules/pdfjs-dist/build dist/media-viewer/assets",
"copy:demo-js-dependencies": "cross-env NODE_PATH=. rsync -r projects/media-viewer/node_modules/pdfjs-dist/build dist/demo-app/assets",
"copy:lib-assets": "cross-env NODE_PATH=. rsync -r projects/media-viewer/src/assets/* dist/media-viewer/assets/",
"copy:demo-assets": "cross-env NODE_PATH=. rsync -r projects/media-viewer/src/assets/* dist/demo-app/assets/",
"copy:docs": "yarn copy:readme && yarn copy:license",
"copy:license": "cross-env NODE_PATH=. cp ./README.md dist/media-viewer",
"copy:readme": "cross-env NODE_PATH=. cp ./LICENSE dist/media-viewer",
"publish:dist": "yarn package && cd dist/media-viewer && yarn install --no-immutable && yarn npm publish",
"npm-pack": "cd dist/media-viewer && touch yarn.lock && yarn pack",
"test": "cd projects/media-viewer; ng test",
"test:coverage": "echo test:coverage",
"test:a11y": "echo test:a11y",
"test:smoke": "NODE_PATH=. node ./node_modules/codeceptjs/bin/codecept.js run -c ./test/end-to-end/codecept.smoke.conf.js --grep @smoke --steps --reporter mocha-multi",
"test:fullfunctional": "yarn e2e:fullfunctional",
"test:functional": "yarn e2e:fullfunctional",
"test:crossbrowser_PT": "protractor e2e/saucelabs.conf.js",
"test:coveralls-upload": "cross-env NODE_PATH=. cat ./reports/tests/coverage/ng/lcov.info | coveralls",
"test:codecov-upload": "codecov -f ./reports/tests/coverage/ng/lcov.info",
"test:pa11y": "pa11y-ci",
"lint": "ng lint",
"clean": "rimraf reports",
"stub:annotations": "node api/annotation-stubs.js &",
"webdriver:update": "webdriver-manager update --versions.chrome 2.44",
"e2e": "protractor --webdriverUpdate=false",
"e2e:local": "yarn webdriver:update && protractor e2e/local.protractor.conf.js",
"e2e:fullfunctional_PT": "yarn webdriver:update && protractor e2e/ci.protractor.conf.js",
"e2e:fullfunctional": "NODE_PATH=. node ./node_modules/codeceptjs/bin/codecept.js run -c ./test/end-to-end/ --grep @ci --steps --reporter mocha-multi",
"sonar-scan": "node_modules/sonar-scanner/bin/sonar-scanner",
"rebuild-node-sass": "yarn add node-sass@^4.14.1",
"test:crossbrowser": "NODE_PATH=. codeceptjs run-multiple ${BROWSER_GROUP:-'--all'} -c test/end-to-end/saucelabs.conf.js --plugins retryFailedStep --steps --grep '@xb' --reporter mocha-multi"
},
"dependencies": {
"@angular-eslint/utils": "17.5.3",
"@angular/animations": "^17.3.8",
"@angular/cdk": "^17.3.8",
"@angular/cli": "^17.3.7",
"@angular/common": "^17.3.8",
"@angular/compiler": "^17.3.8",
"@angular/core": "^17.3.8",
"@angular/forms": "^17.3.8",
"@angular/material": "^17.3.8",
"@angular/platform-browser": "^17.3.8",
"@angular/platform-browser-dynamic": "^17.3.8",
"@angular/platform-server": "^17.3.8",
"@angular/router": "^17.3.8",
"@angular/ssr": "^17.3.7",
"@hmcts/nodejs-healthcheck": "^1.8.5",
"@hmcts/nodejs-logging": "4.0.4",
"@hmcts/properties-volume": "^1.1.0",
"@ngrx/effects": "^17.0.0",
"@ngrx/router-store": "^17.0.0",
"@ngrx/store": "^17.0.0",
"@ngrx/store-devtools": "^17.0.0",
"@swimlane/ngx-datatable": "^20.0.0",
"axios": "^1.6.3",
"body-parser": "^1.20.3",
"config": "^3.3.9",
"core-js": "^2.6.5",
"glob": "^10.3.3",
"govuk-frontend": "^4.2.0",
"ini": "4.1.3",
"moment-timezone": "^0.5.28",
"mutable-div": "2.0.0",
"ngx-chips": "3.0.0",
"nodemon": "^3.1.0",
"nunjucks": "^3.2.4",
"otp": "^0.1.3",
"pdfjs-dist": "4.3.136",
"require-directory": "2.1.1",
"rpx-xui-translation": "^1.0.4",
"rxjs": "^7.4.0",
"sass": "^1.64.1",
"scss-bundle": "~3.1.2",
"session-file-store": "^1.2.0",
"socket.io-client": "^3.1.1",
"uuid": "^3.4.0",
"ws": "^7.5.10",
"xmlhttprequest-ssl": "^1.6.2",
"zone.js": "0.15.0"
},
"resolutions": {
"glob-parent": "^6.0.0",
"hosted-git-info": "^7.0.0",
"ini": "4.1.3",
"minimist": "^1.2.3",
"npm-registry-fetch": "^10.1.1",
"serialize-javascript": "^5.0.1",
"ssri": "^8.0.1",
"trim-newlines": "^4.0.1",
"ws": "^7.5.10",
"xmlhttprequest-ssl": "^1.6.2",
"@xmldom/xmldom": "^0.9.0",
"yargs-parser": "^20.2.7",
"zone.js": "0.15.0",
"lodash": "^4.17.21",
"xml2j": "^0.5.0",
"axios": "^1.6.3",
"got": "^14.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "17.3.10",
"@angular-devkit/core": "^17.3.7",
"@angular-eslint/builder": "16.3.1",
"@angular-eslint/eslint-plugin": "16.3.1",
"@angular-eslint/eslint-plugin-template": "16.3.1",
"@angular-eslint/schematics": "17.5.3",
"@angular-eslint/template-parser": "13.5.0",
"@angular/compiler-cli": "^17.3.8",
"@angular/language-service": "17.3.12",
"@ngrx/schematics": "^17.2.0",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "^7.1.3",
"@types/cucumber": "^7.0.0",
"@types/jasmine": "~5.1.0",
"@types/jasminewd2": "^2.0.8",
"@types/lodash": "4.17.10",
"@types/mocha": "^8.2.1",
"@types/node": "^18.19.33",
"@typescript-eslint/eslint-plugin": "7.16.0",
"@typescript-eslint/parser": "7.16.0",
"chai": "^4.3.0",
"chai-as-promised": "^7.1.1",
"chai-http": "4.4.0",
"circular-dependency-plugin": "^5.0.2",
"codeceptjs": "3.6.7",
"codecov": "^3.7.1",
"codelyzer": "^6.0.0",
"coveralls": "^3.0.3",
"cross-env": "^7.0.3",
"cucumber-html-report": "0.6.5",
"cucumber-html-reporter": "^4.0.5",
"cucumber-pretty": "1.5.2",
"cucumberjs-allure-reporter": "1.0.3",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-n": "^17.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-standard": "^5.0.0",
"jasmine": "^5.0.0",
"jasmine-core": "~5.2.0",
"jasmine-marbles": "^0.9.1",
"jasmine-reporters": "^2.3.2",
"jasmine-spec-reporter": "~7.0.0",
"karma": "^6.4.2",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "^2.2.1",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^2.0.0",
"karma-phantomjs-launcher": "^1.0.4",
"mocha": "9.2.2",
"mocha-jenkins-reporter": "0.4.8",
"mocha-junit-reporter": "2.2.1",
"mocha-multi": "1.1.7",
"mochawesome": "7.1.3",
"ng-packagr": "^18.0.0",
"ngrx-store-freeze": "^0.2.4",
"nock": "13.5.5",
"nsp": "3.2.1",
"pa11y-ci": "^2.4.0",
"protractor": "^7.0.0",
"protractor-cucumber-framework": "^6.1.1",
"protractor-multiple-cucumber-html-reporter-plugin": "1.8.1",
"proxyquire": "2.1.3",
"puppeteer": "^22.0.0",
"selenium-standalone": "8.3.0",
"sonar-scanner": "^3.1.0",
"totp-generator": "^0.0.14",
"ts-node": "^8.1.0",
"tsickle": "^0.46.0",
"tslib": "^2.0.0",
"tslint": "^6.1.3",
"typescript": "5.4.5",
"typescript-string-operations": "^1.3.1",
"watch": "1.0.2",
"webdriver-manager": "^12.1.7",
"webdriverio": "7.36.0",
"when": "3.7.8",
"yarn-audit-fix": "^10.0.7"
},
"packageManager": "[email protected]"
}