-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
181 lines (181 loc) · 7.5 KB
/
package.json
File metadata and controls
181 lines (181 loc) · 7.5 KB
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
{
"name": "adoption-web",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=22.17.1"
},
"scripts": {
"setup": "./playwright-e2e/scripts/get_secrets.sh && yarn playwright install && yarn playwright install webkit && yarn install firefox",
"setup-env": "./playwright-e2e/scripts/get_secrets.sh",
"prepare": "husky install",
"start": "NODE_ENV=production ts-node --transpile-only -r tsconfig-paths/register src/main/server.ts",
"start:dev": "NODE_TLS_REJECT_UNAUTHORIZED=0 NODE_ENV=development yarn start:watch",
"start:docker": "NODE_ENV=docker yarn start:watch",
"start:watch": "concurrently --handle-input 'nodemon --config nodemon.express.json' 'nodemon --config nodemon.assets.json'",
"lint": "tsc --noEmit -p tsconfig.eslint.json && eslint . --ext .js,.ts",
"build": "webpack --config webpack.config.js",
"build:prod": "NODE_ENV=production webpack --mode production --config webpack.config.js",
"test": "jest",
"fortifyScan": "./test/java/gradlew -p test/java fortifyScan",
"test:coverage": "jest --coverage",
"test:integration": "jest -c jest.integration.config.js",
"test:api": "jest -c jest.api.config.js",
"test:routes": "echo 'functional tests are now run using Playwright' && exit 0",
"test:a11y": "echo 'a11y tests will be executed after functional tests using Playwright' && exit 0",
"sonar-scan": "sonar-scanner",
"test:smoke:downstream": "NODE_TLS_REJECT_UNAUTHORIZED=0 jest -c jest.smoke.config.js",
"test:smoke": "yarn playwright install && yarn playwright test --grep @smoke --project chromium --retries=2",
"test:functional": "echo 'not running functional test' && exit 0",
"cichecks": "yarn && run-p build lint test",
"test:functional:skip": "echo 'Not running functional cases in Master' && exit 0",
"test:fullfunctional": "echo 'full functional replaced by modularised functional tests' && exit 0",
"test:functional-chromium": "yarn playwright install && yarn playwright test --project chromium",
"test:functional-firefox": "yarn playwright install && yarn playwright test --project firefox",
"test:functional-webkit": "yarn playwright install && yarn playwright test --project webkit",
"test:functional-mobileChrome": "yarn playwright install && yarn playwright test --project=MobileChrome",
"test:functional-mobileSafari": "yarn playwright install && yarn playwright test --project=MobileSafari",
"test:functional-mobileSamsungLandscape": "yarn playwright install && yarn playwright test --project=MobileSamsungLandscape",
"test:functional-mobileSamsungPortrait": "yarn playwright install && yarn playwright test --project=MobileSamsungPortrait",
"test:functional-nightly": "yarn playwright install chromium && yarn playwright install firefox && yarn playwright install webkit && yarn run-all-browsers",
"run-all-browsers": "yarn playwright test --project=chromium --project=firefox --project=webkit --project=MobileChrome",
"test:accessibility-nightly": "yarn playwright install chromium && yarn playwright install firefox && yarn playwright install webkit && yarn playwright test --grep @accessibility",
"test:pact": "jest -c jest.pact.config.js --runInBand",
"pact:publish": "NODE_ENV=test NODE_PATH=. LOG_LEVEL=error ts-node src/test/pact/publish/publish.ts",
"test:pact:run-and-publish": "yarn test:pact && yarn pact:publish",
"broker": "docker-compose -f broker-compose.yaml up -d",
"broker:stop": "docker-compose -f broker-compose.yaml down"
},
"dependencies": {
"@hmcts/cookie-manager": "^1.0.0",
"@hmcts/nodejs-healthcheck": "^1.8.6",
"@hmcts/nodejs-logging": "^4.0.4",
"@hmcts/properties-volume": "^1.4.0",
"@types/autobind-decorator": "^2.1.0",
"@types/config": "^0.0.41",
"@types/connect-redis": "^0.0.23",
"@types/cookie-parser": "^1.4.3",
"@types/csurf": "^1.11.2",
"@types/express": "^4.17.13",
"@types/express-session": "^1.18.2",
"@types/lodash": "^4.14.182",
"@types/multer": "^2.0.0",
"@types/negotiator": "^0.6.1",
"@types/node": "^20.19.3",
"@types/nunjucks": "^3.2.1",
"@types/redis": "^2.8.32",
"@types/serve-favicon": "^2.5.3",
"@types/session-file-store": "^1.2.2",
"@types/toobusy-js": "^0.5.2",
"@types/uuid": "^8.3.4",
"@uppy/core": "^2.3.0",
"@uppy/drop-target": "^1.1.3",
"@uppy/file-input": "^2.1.0",
"@uppy/progress-bar": "^2.1.0",
"@uppy/xhr-upload": "^2.1.0",
"accessible-autocomplete": "^3.0.0",
"applicationinsights": "^2.9.7",
"autobind-decorator": "^2.4.0",
"axios": "^1.15.2",
"config": "^3.3.7",
"connect-redis": "^6.1.1",
"cookie-parser": "^1.4.5",
"csurf": "^1.11.0",
"dayjs": "^1.11.3",
"dotenv": "^16.4.7",
"email-validator": "^2.0.4",
"express": "^4.22.1",
"express-rate-limit": "^8.5.2",
"express-session": "^1.18.2",
"form-data": "^4.0.4",
"glob": "^8.0.3",
"govuk-frontend": "^5.9.0",
"helmet": "^4.6.0",
"http-status-codes": "^2.2.0",
"ioredis": "^5.2.2",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.23",
"multer": "^2.1.1",
"negotiator": "^0.6.3",
"nunjucks": "^3.2.4",
"otplib": "^12.0.1",
"rate-limit-redis": "^5.0.0",
"redis": "^3.1.2",
"serve-favicon": "^2.5.0",
"session-file-store": "^1.5.0",
"toobusy-js": "^0.5.1",
"ts-node": "^10.8.1",
"tsconfig-paths": "^4.0.0",
"typescript": "<5.2.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.3",
"@babel/core": "^7.18.2",
"@babel/eslint-parser": "^7.11.0",
"@babel/preset-env": "^7.18.2",
"@faker-js/faker": "^8.4.1",
"@hmcts/playwright-common": "^1.1.2",
"@pact-foundation/pact": "^16.3.0",
"@pact-foundation/pact-cli": "^18.0.0",
"@playwright/test": "^1.58.0",
"@types/copy-webpack-plugin": "^10.1.0",
"@types/jest": "^29.0.0",
"@types/mini-css-extract-plugin": "^2.5.1",
"@types/webpack-dev-middleware": "^5.3.0",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.26.0",
"axios-debug-log": "^1.0.0",
"babel-loader": "^9.1.2",
"concurrently": "^7.2.1",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-prettier": "^4.0.0",
"git-rev-sync": "^3.0.2",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"jest": "^29.0.0",
"jest-circus": "^29.0.0",
"jest-extended": "^2.0.0",
"jest-html-reporter": "^3.5.0",
"jest-pact": "^0.13.0",
"jest-when": "^3.5.1",
"lint-staged": "^13.0.0",
"mini-css-extract-plugin": "^2.6.0",
"moment": "^2.29.4",
"moment-timezone": "0.5.43",
"nock": "^14.0.11",
"nodemon": "^2.0.22",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"sass": "^1.86.0",
"sass-loader": "^13.0.0",
"sonar-scanner": "^3.1.0",
"style-loader": "^3.3.1",
"ts-jest": "^29.0.0",
"ts-loader": "^9.3.0",
"webpack": "^5.94.0",
"webpack-cli": "^4.9.2",
"webpack-dev-middleware": "^5.3.3",
"webpack-node-externals": "^3.0.0"
},
"resolutions": {
"minimist": "^1.2.6",
"config/json5": ">=2.2.2",
"tsconfig-paths/json5": ">=2.2.2",
"cookiejar": ">=2.1.4",
"formidable": "^3.5.3",
"semver": ">=7.5.2",
"ws": "^8.20.1",
"express": "^4.22.1",
"lodash": "^4.17.23",
"serve-static": "^1.16.0",
"cookie": "^0.7.0",
"nanoid": "^3.3.8"
},
"packageManager": "yarn@4.14.1"
}