-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 5.36 KB
/
package.json
File metadata and controls
149 lines (149 loc) · 5.36 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
{
"name": "pre-portal",
"version": "0.0.2",
"private": true,
"engines": {
"node": ">=22.15.0"
},
"scripts": {
"audit:suppress": "yarn npm audit --recursive --environment production --json > yarn-audit-known-issues",
"start": "NODE_ENV=production ts-node -r tsconfig-paths/register src/main/server.ts",
"start:dev": "nodemon --config nodemon.json",
"lint": "eslint . && prettier --check .",
"lint:fix": "prettier --write . && eslint --fix .",
"build": "yarn webpack --config webpack.config.js",
"build:prod": "NODE_ENV=production yarn webpack --mode production --config webpack.config.js",
"build:ts": "tsc -P . --outDir ./src/main",
"test": "npx if-env CI=true && exit 0 || yarn test:unit",
"test:unit": "jest",
"test:coverage": "jest --coverage",
"test:routes": "jest -c jest.routes.config.js",
"test:a11y": "echo 'Use test:pa11y instead' && exit 0",
"test:pa11y": "PORTAL_AUTH_DISABLED=1 NODE_TLS_REJECT_UNAUTHORIZED=0 jest -c jest.a11y.config.js --maxWorkers 15 --detectOpenHandles",
"test:smoke": "NODE_TLS_REJECT_UNAUTHORIZED=0 jest -c jest.smoke.config.js",
"test:functional": "yarn playwright install && ALLOW_CONFIG_MUTATIONS=true NODE_TLS_REJECT_UNAUTHORIZED=0 codeceptjs run --config ./codecept.conf.js --steps",
"test:functional:report": "allure generate functional-output/functional/reports/* -c -o functional-output/functional/allure",
"test:fullfunctional": "yarn test:functional || yarn test:functional:report",
"test:crossbrowser:e2e": "NODE_TLS_REJECT_UNAUTHORIZED=0 codeceptjs run-multiple --all --config src/test/crossbrowser/saucelabs.conf.js --grep @CrossBrowser ",
"test:crossbrowser:report": "allure generate functional-output/cross-browser/reports/* -c -o functional-output/cross-browser/allure ",
"test:crossbrowser": "yarn playwright install && (yarn test:crossbrowser:e2e && yarn test:crossbrowser:report) || yarn test:crossbrowser:report",
"cichecks": "yarn build && yarn rebuild puppeteer && yarn lint && yarn test && yarn test:routes && yarn test:a11y",
"prepare": "husky",
"prettier": "prettier --write ."
},
"dependencies": {
"@hmcts/cookie-manager": "1.1.0",
"@hmcts/info-provider": "1.4.0",
"@hmcts/nodejs-healthcheck": "1.8.6",
"@hmcts/nodejs-logging": "4.0.4",
"@hmcts/properties-volume": "1.3.2",
"@mediakind/mkplayer": "^1.36.1",
"@opentelemetry/api": "^1.9.1",
"@opentelemetry/context-async-hooks": "^2.6.1",
"@types/body-parser": "1.19.6",
"@types/cookie-parser": "1.4.10",
"@types/express": "5.0.6",
"@types/express-session": "1.18.2",
"@types/node": "25.5.2",
"@types/nunjucks": "3.2.6",
"@types/serve-favicon": "2.5.7",
"@types/session-file-store": "1.2.6",
"applicationinsights": "3.14.0",
"axios": "^1.15.0",
"body-parser": "2.2.2",
"config": "4.4.1",
"connect-redis": "^9.0.0",
"cookie-parser": "1.4.7",
"dotenv": "^17.4.1",
"express": "5.2.1",
"express-openid-connect": "2.20.1",
"express-session": "1.19.0",
"form-data": "4.0.5",
"glob": "13.0.6",
"govuk-frontend": "5.11.2",
"helmet": "8.1.0",
"hls.js": "^1.6.15",
"jose": "^6.2.2",
"lodash": "4.18.1",
"marked": "^15.0.0",
"multer": "^2.1.1",
"nunjucks": "3.2.4",
"puppeteer": "^24.40.0",
"qs": "^6.15.0",
"redis": "^5.11.0",
"serve-favicon": "2.5.1",
"session-file-store": "^1.5.0",
"supertest": "7.2.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.9.3",
"uuid": "^11.0.0",
"video.js": "8.23.7"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@codeceptjs/configure": "1.0.6",
"@jest/globals": "30.3.0",
"@types/jest": "30.0.0",
"@types/multer": "^2.1.0",
"@types/qs": "^6.15.0",
"@types/supertest": "7.2.0",
"allure-commandline": "^2.38.1",
"babel-jest": "^30.3.0",
"chokidar": "3.6.0",
"codeceptjs": "3.7.9",
"copy-webpack-plugin": "14.0.0",
"css-loader": "7.1.4",
"debug": "4.4.3",
"eslint": "10.2.0",
"govuk-frontend": "5.11.2",
"html-webpack-plugin": "5.6.6",
"husky": "9.1.7",
"jest": "30.3.0",
"jest-html-reporter": "4.4.0",
"jest-util": "^30.3.0",
"lint-staged": "16.4.0",
"mini-css-extract-plugin": "2.10.2",
"node-mocks-http": "1.17.2",
"nodemon": "3.1.14",
"pa11y": "9.1.1",
"playwright": "1.59.1",
"prettier": "3.8.1",
"sass": "1.99.0",
"sass-loader": "16.0.7",
"style-loader": "4.0.0",
"ts-jest": "29.4.9",
"ts-loader": "9.5.7",
"webpack": "^5.105.4",
"webpack-cli": "6.0.1",
"webpack-dev-middleware": "7.4.5"
},
"resolutions": {
"@opentelemetry/instrumentation": "0.214.0",
"axios": "1.15.0",
"basic-ftp": "5.3.0",
"protobufjs": "^7.5.5",
"bfj": "9.1.3",
"cookie": "0.7.2",
"js-yaml": "4.1.1",
"jsonwebtoken": "9.0.3",
"mocha@npm:11.7.5/serialize-javascript": "7.0.5",
"node-gyp": "12.2.0",
"node-gyp/tar": "^7.5.10",
"semver": "^7.7.4",
"editorconfig@npm:1.0.4/minimatch": "9.0.7",
"mpd-parser@npm:1.3.1/@xmldom/xmldom": "0.9.10",
"@xmldom/xmldom@npm:0.9.8": "0.9.10"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown",
"**/*.{js,ts}": "eslint --cache --fix"
},
"packageManager": "yarn@4.13.0"
}