-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
137 lines (137 loc) · 8.09 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
{
"name": "opal-frontend",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --configuration production",
"watch": "ng build --watch --configuration development",
"test": "ng test --watch=false",
"test:coverage": "ng test --no-watch --code-coverage",
"test:a11y": "echo 'Covered in cypress testing' && exit 0",
"test:dev:smoke": "TEST_URL=https://localhost:4000/ cypress run --browser chrome --spec 'cypress/e2e/smoke/*-spec.cy.ts' --reporter-options 'mochaFile=smoke-output/dev/test-output-[hash].xml' && yarn test:dev:smoke:combine:reports",
"test:smoke": "yarn test:smokeOpalParallel ; yarn test:smokeLegacy ; yarn test:smoke:combine:reports ; yarn test:smoke:cucumber:combineParallelReport",
"test:smokeOpalParallel": "CYPRESS_messagesEnabled=true TEST_STAGE=smoke cypress-parallel -s test:smokeOpal -d 'cypress/e2e/smoke/opal/**/*.feature' -m false -t 2 -w 'cypress/parallel/weights/smoke-parallel-weights.json' -r mocha-junit-reporter -o 'mochaFile=smoke-output/prod/opal-mode-test-output-[hash].xml'",
"test:smokeOpal": "TEST_MODE=OPAL cypress run --browser chrome --spec 'cypress/e2e/smoke/opal/*.feature' --config screenshotsFolder='smoke-output/screenshots/opal' --reporter-options 'mochaFile=smoke-output/prod/opal-mode-test-output-[hash].xml'",
"test:smokeLegacy": "TEST_MODE=LEGACY cypress run --browser chrome --spec 'cypress/e2e/smoke/legacy/*.feature' --config screenshotsFolder='smoke-output/screenshots/legacy' --reporter-options 'mochaFile=smoke-output/prod/legacy-mode-test-output-[hash].xml'",
"test:dev:smoke:combine:reports": "jrm smoke-output/dev/test-result.xml \"smoke-output/dev/*.xml\"",
"test:smoke:combine:reports": "jrm smoke-output/prod/test-result.xml \"smoke-output/prod/*.xml\"",
"test:smoke:cucumber:combineParallelReport": "yarn test:smoke:cucumber:jsonReport ; yarn test:smoke:cucumber:htmlReport",
"test:smoke:cucumber:jsonReport": "yarn cucumber-merge-messages smoke-output/prod/cucumber/*.ndjson > smoke-output/prod/cucumber/smoke-report.ndjson",
"test:smoke:cucumber:htmlReport": "yarn cucumber-html-formatter < smoke-output/prod/cucumber/smoke-report.ndjson > smoke-output/prod/cucumber/smoke-report.html",
"test:dev:functional": "TEST_URL=https://localhost:4000/ cypress run --browser chrome --spec 'cypress/e2e/functional/*-spec.cy.ts' --reporter-options 'mochaFile=functional-output/dev/test-output-[hash].xml' && yarn test:dev:functional:combine:reports",
"test:functional": "yarn test:functionalOpalParallel ; yarn test:functionalLegacy ; yarn test:functional:combine:reports ; yarn test:functional:cucumber:combineParallelReport",
"test:functionalOpalParallel": "CYPRESS_messagesEnabled=true TEST_STAGE=functional cypress-parallel -s test:functionalOpal -d $TEST_SPECS -m false -t 2 -w 'cypress/parallel/weights/functional-parallel-weights.json' -r mocha-junit-reporter -o 'mochaFile=functional-output/prod/opal-mode-test-output-[hash].xml'",
"test:functionalOpal": "TEST_MODE=OPAL cypress run --browser chrome --spec 'cypress/e2e/functional/opal/**/*.feature' --config screenshotsFolder='functional-output/screenshots/opal' --reporter-options 'mochaFile=functional-output/prod/opal-mode-test-output-[hash].xml'",
"test:functionalOpalRecord": "TEST_MODE=OPAL CYPRESS_VIDEO=true cypress run --browser chrome --spec 'cypress/e2e/functional/opal/**/PO-530*.feature' --config videosFolder='functional-output/videos' screenshotsFolder='functional-output/screenshots/opal' --reporter-options 'mochaFile=functional-output/prod/opal-mode-test-output-[hash].xml'",
"test:functionalLegacy": "TEST_MODE=LEGACY cypress run --browser chrome --spec 'cypress/e2e/functional/legacy/**/*.feature' --config screenshotsFolder='functional-output/screenshots/legacy' --reporter-options 'mochaFile=functional-output/prod/legacy-mode-test-output-[hash].xml'",
"test:functional:combine:reports": "jrm functional-output/prod/test-result.xml \"functional-output/prod/*.xml\"",
"test:functional:cucumber:combineParallelReport": "yarn test:functional:cucumber:jsonReport ; yarn test:functional:cucumber:htmlReport",
"test:functional:cucumber:jsonReport": "yarn cucumber-merge-messages functional-output/prod/cucumber/*.ndjson > functional-output/prod/cucumber/functional-report.ndjson",
"test:functional:cucumber:htmlReport": "yarn cucumber-html-formatter < functional-output/prod/cucumber/functional-report.ndjson > functional-output/prod/cucumber/functional-report.html",
"test:dev:functional:combine:reports": "jrm functional-output/dev/test-result.xml \"functional-output/dev/*.xml\"",
"dev:ssr": "ng run opal-frontend:serve-ssr",
"serve:ssr": "node dist/opal-frontend/server/main.js",
"build:ssr": "ng build --configuration production && ng run opal-frontend:server",
"build:serve:ssr": "yarn run build:ssr && yarn run serve:ssr",
"prerender": "ng run opal-frontend:prerender",
"pa11y": "echo 'Covered in cypress testing' && exit 0",
"lint": "yarn prettier && yarn lint:ng",
"lint:ng": "ng lint",
"prettier": "prettier --check \"./**/*.{ts,js,html,scss}\"",
"prettier:fix": "prettier --write \"./**/*.{ts,js,html,scss}\"",
"cypress": "cypress open "
},
"private": true,
"dependencies": {
"@angular/animations": "^19.0.0",
"@angular/common": "^19.0.0",
"@angular/compiler": "^19.0.0",
"@angular/core": "^19.0.0",
"@angular/forms": "^19.0.0",
"@angular/platform-browser": "^19.0.0",
"@angular/platform-browser-dynamic": "^19.0.0",
"@angular/platform-server": "^19.0.0",
"@angular/router": "^19.0.0",
"@angular/ssr": "^19.1.2",
"@badeball/cypress-cucumber-preprocessor": "^22.0.0",
"@cypress/webpack-preprocessor": "^6.0.2",
"@hmcts/info-provider": "^1.1.0",
"@hmcts/nodejs-healthcheck": "^1.8.5",
"@hmcts/nodejs-logging": "^4.0.4",
"@hmcts/properties-volume": "^1.1.0",
"@ministryofjustice/frontend": "^3.0.0",
"@ngrx/signals": "^19.0.0",
"accessible-autocomplete": "^3.0.0",
"applicationinsights": "~2.9.6",
"axios": "^1.6.2",
"body-parser": "^1.20.2",
"config": "^3.3.9",
"connect-redis": "^8.0.0",
"cookie-parser": "^1.4.6",
"csrf-csrf": "^3.0.6",
"domino-ext": "^2.1.4",
"express": "^4.15.2",
"express-session": "^1.17.3",
"fast-sort": "^3.4.1",
"govuk-frontend": "^5.0.0",
"helmet": "^8.0.0",
"http-proxy-middleware": "^3.0.0",
"launchdarkly-js-client-sdk": "^3.1.4",
"luxon": "^3.4.3",
"ng": "^0.0.0",
"prettier": "^3.0.3",
"redis": "^4.6.11",
"rxjs": "~7.8.0",
"session-file-store": "^1.5.0",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.1",
"tslib": "^2.3.0",
"webpack": "^5.93.0",
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^19.1.2",
"@angular-eslint/builder": "19.1.0",
"@angular-eslint/eslint-plugin": "19.1.0",
"@angular-eslint/eslint-plugin-template": "19.1.0",
"@angular-eslint/schematics": "19.1.0",
"@angular-eslint/template-parser": "19.1.0",
"@angular/cli": "^19.1.2",
"@angular/compiler-cli": "^19.0.0",
"@types/config": "^3.3.3",
"@types/cookie-parser": "^1.4.6",
"@types/express": "^5.0.0",
"@types/express-session": "^1.17.10",
"@types/jasmine": "^5.1.4",
"@types/luxon": "^3.4.2",
"@types/node": "^22.0.0",
"@types/session-file-store": "^1.2.5",
"@typescript-eslint/eslint-plugin": "8.24.0",
"@typescript-eslint/parser": "8.24.0",
"axe-core": "^4.8.4",
"browser-sync": "^3.0.2",
"cypress": "^14.0.0",
"cypress-axe": "^1.5.0",
"cypress-multi-reporters": "^2.0.0",
"cypress-parallel": "^0.14.0",
"eslint": "^9.0.0",
"jasmine-core": "~5.6.0",
"junit-report-merger": "^7.0.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"mocha": "^11.0.0",
"mocha-junit-reporter": "^2.2.1",
"typescript": "~5.7.0"
},
"packageManager": "yarn@4.6.0",
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true
},
"resolutions": {
"@cucumber/messages": "^27.0.0"
}
}