generated from hmcts/expressjs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
187 lines (187 loc) · 7.36 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
{
"name": "adoption-web",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"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:a11y": "echo 'a11y tests will be executed after functional tests' && exit 0",
"test:pa11y": "NODE_TLS_REJECT_UNAUTHORIZED=0 jest -c jest.a11y.config.js --maxWorkers 1",
"sonar-scan": "sonar-scanner",
"test:smoke:e2e": "MOCHAWESOME_REPORTFILENAME=smoke codeceptjs run --grep '${SMOKE_TESTS_SELECTOR:=@smoke-tests}' --reporter mocha-multi",
"test:smoke:downstream": "NODE_TLS_REJECT_UNAUTHORIZED=0 jest -c jest.smoke.config.js",
"test:smoke": "run-p test:smoke:downstream test:smoke:e2e",
"test:functional": "MOCHAWESOME_REPORTFILENAME=functional codeceptjs run-multiple parallel --reporter mocha-multi",
"test:fullfunctional": "run-p test:functional test:pa11y",
"cichecks": "yarn && run-p build lint test",
"test:functional:skip": "echo 'Not running functional cases in Master' && exit 0",
"test:crossbrowser-e2e": "MOCHAWESOME_REPORTFILENAME=crossbrowser codeceptjs run-multiple --grep '@cross-browser' ${BROWSER_GROUP:-'--all'} -c saucelabs.conf.js --reporter mocha-multi",
"test:crossbrowser": "./bin/run-crossbrowser-tests.sh",
"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 --project=MobileSamsungPortrait --project=MobileSamsungLandscape",
"test:accessibility-nightly": "yarn playwright install chromium && yarn playwright install firefox && yarn playwright install webkit && yarn playwright test --grep @accessibility",
"test:local": "codeceptjs run-multiple parallel",
"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": {
"@axe-core/playwright": "^4.9.0",
"@hmcts/cookie-manager": "^1.0.0",
"@hmcts/frontend": "^0.0.50-alpha",
"@hmcts/nodejs-healthcheck": "^1.8.4",
"@hmcts/nodejs-logging": "^4.0.4",
"@hmcts/properties-volume": "^1.0.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/es6-promisify": "^6.0.1",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.4",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.14.182",
"@types/multer": "^1.4.7",
"@types/negotiator": "^0.6.1",
"@types/node": "^17.0.40",
"@types/nunjucks": "^3.2.1",
"@types/redis": "^2.8.32",
"@types/require-directory": "^2.1.2",
"@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": "^2.0.4",
"applicationinsights": "^2.5.1",
"autobind-decorator": "^2.4.0",
"axios": "^0.28.0",
"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.5",
"email-validator": "^2.0.4",
"express": "^4.21.2",
"express-http-proxy": "^1.6.3",
"express-session": "^1.17.3",
"form-data": "^4.0.0",
"glob": "^8.0.3",
"govuk-frontend": "^4.8.0",
"helmet": "^4.6.0",
"http-status-codes": "^2.2.0",
"ioredis": "^5.2.2",
"js-yaml": "^4.1.0",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.21",
"multer": "^1.4.5-lts.1",
"negotiator": "^0.6.3",
"nunjucks": "^3.2.4",
"otplib": "^12.0.1",
"redis": "^3.1.2",
"require-directory": "^2.1.1",
"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": "^4.7.3",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/eslint-parser": "^7.11.0",
"@babel/preset-env": "^7.18.2",
"@faker-js/faker": "^8.4.1",
"@pact-foundation/absolute-version": "^0.0.4",
"@pact-foundation/pact": "^9.17.3",
"@playwright/test": "^1.43.1",
"@types/copy-webpack-plugin": "^10.1.0",
"@types/jest": "^28.1.1",
"@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",
"allure-commandline": "^2.17.2",
"axios-debug-log": "^0.8.4",
"babel-loader": "^9.1.2",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"codeceptjs": "^3.4.1",
"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",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"jest": "^28.1.0",
"jest-circus": "^28.1.0",
"jest-extended": "^2.0.0",
"jest-html-reporter": "^3.5.0",
"jest-pact": "^0.11.0",
"jest-when": "^3.5.1",
"lint-staged": "^13.0.0",
"mini-css-extract-plugin": "^2.6.0",
"mocha-junit-reporter": "^2.0.0",
"mocha-multi": "^1.1.6",
"mochawesome": "^7.1.3",
"moment": "^2.29.4",
"moment-timezone": "0.5.43",
"node-sass": "^8.0.0",
"nodemon": "^2.0.22",
"npm-run-all": "^4.1.5",
"pa11y": "^6.2.3",
"prettier": "^2.6.2",
"sass-loader": "^13.0.0",
"sonar-scanner": "^3.1.0",
"style-loader": "^3.3.1",
"ts-jest": "^28.0.4",
"ts-loader": "^9.3.0",
"webdriverio": "^7.19.7",
"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.2.4",
"semver": ">=7.5.2",
"ws": "^8.17.1",
"codeceptjs/axios": "1.7.4",
"express": "^4.21.2",
"serve-static": "^1.16.0",
"cookie": "^0.7.0",
"nanoid": "^3.3.8"
},
"packageManager": "yarn@3.8.5"
}