-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
139 lines (139 loc) · 4.6 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
{
"name": "cnp-plum-frontend",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"start": "NODE_ENV=production ts-node -r tsconfig-paths/register src/main/server.ts",
"start:dev": "nodemon --config nodemon.json",
"lint": "stylelint **/*.scss -v -q && eslint . --ext .js,.ts && prettier --check .",
"lint:fix": "prettier --write . .github && eslint --fix .",
"build": "yarn webpack --config webpack.config.js",
"build:prod": "NODE_ENV=production yarn webpack --mode production --config webpack.config.js",
"test": "npx if-env CI=true && exit 0 || yarn test:unit",
"test:unit": "jest",
"test:coverage": "yarn build && jest --coverage",
"test:routes": "jest -c jest.routes.config.js",
"test:a11y": "yarn build && yarn rebuild puppeteer && jest --detectOpenHandles --forceExit -c jest.a11y.config.js --maxWorkers 15",
"test:smoke": "NODE_TLS_REJECT_UNAUTHORIZED=0 jest -c jest.smoke.config.js",
"test:functional": "NODE_TLS_REJECT_UNAUTHORIZED=0 codeceptjs run --steps",
"cichecks": "yarn install && yarn build && yarn rebuild puppeteer && yarn lint && yarn test && yarn test:routes && yarn test:a11y",
"prepare": "husky install"
},
"dependencies": {
"@codeceptjs/allure-legacy": "^1.0.2",
"@hmcts/info-provider": "^1.0.0",
"@hmcts/nodejs-healthcheck": "^1.7.3",
"@hmcts/nodejs-logging": "^4.0.4",
"@hmcts/properties-volume": "^1.0.0",
"@types/body-parser": "^1.19.2",
"@types/config": "^3.3.0",
"@types/cookie-parser": "^1.4.3",
"@types/csurf": "^1.11.2",
"@types/es6-promisify": "^6.0.1",
"@types/express": "^5.0.0",
"@types/glob": "^8.0.0",
"@types/helmet": "^4.0.0",
"@types/lodash": "^4.14.185",
"@types/node": "^20.0.0",
"@types/nunjucks": "^3.2.1",
"@types/require-directory": "^2.1.2",
"@types/serve-favicon": "^2.5.3",
"applicationinsights": "3.4.0",
"axios": "^1.0.0",
"body-parser": "^1.20.0",
"config": "^3.3.8",
"cookie-parser": "^1.4.6",
"csurf": "^1.11.0",
"express": "^4.18.1",
"express-nunjucks": "^3.0.0",
"follow-redirects": "^1.15.6",
"glob": "^11.0.0",
"govuk-frontend": "4.9.0",
"helmet": "^8.0.0",
"jquery": "^3.6.1",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"nunjucks": "^3.2.3",
"require-directory": "^2.1.1",
"serve-favicon": "^2.5.0",
"stylelint": "^16.0.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-config-standard-scss": "^13.0.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.19.0",
"@babel/eslint-parser": "^7.18.9",
"@babel/preset-env": "^7.19.0",
"@codeceptjs/configure": "^1.0.0",
"@types/chai": "^5.0.0",
"@types/chai-as-promised": "^8.0.0",
"@types/jest": "^29.5.2",
"@types/supertest": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"axios-debug-log": "^1.0.0",
"babel-loader": "^9.0.0",
"chai": "^4.3.6",
"chai-as-promised": "^8.0.0",
"chokidar": "^4.0.0",
"codeceptjs": "^3.3.6",
"copy-webpack-plugin": "9.1.0",
"css-loader": "^7.0.0",
"debug": "^4.3.4",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^28.0.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^9.0.0",
"jest": "^29.0.3",
"jest-html-reporter": "^3.7.0",
"lint-staged": "^15.0.0",
"mini-css-extract-plugin": "^2.6.1",
"nock": "^13.2.9",
"nodemon": "^3.0.0",
"pa11y": "^6.2.3",
"playwright": "^1.47.0",
"prettier": "^2.7.1",
"react-native": "^0.76.0",
"request": "^2.88.2",
"sass": "^1.54.9",
"sass-loader": "^16.0.0",
"sinon": "^19.0.0",
"sinon-chai": "^4.0.0",
"style-loader": "^4.0.0",
"supertest": "^7.0.0",
"ts-jest": "^29.0.1",
"ts-loader": "^9.3.1",
"webpack": "^5.76.0",
"webpack-cli": "^5.0.0",
"webpack-dev-middleware": "^7.0.0",
"webpack-node-externals": "^3.0.0"
},
"resolutions": {
"@opentelemetry/instrumentation": "0.56.0",
"semver": "^7.5.3",
"qs": "^6.9.7",
"json5": "^2.0.0",
"http-cache-semantics": "^4.1.1",
"path-to-regexp": "0.1.12",
"cookiejar": "^2.1.4",
"ip": "^2.0.1",
"tar": "7.4.3",
"@grpc/grpc-js": "1.12.5",
"cross-spawn": "7.0.6",
"nanoid": "^3.3.8"
},
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix",
"*.{js,ts,css,md,html,json}": "prettier --write"
},
"packageManager": "yarn@4.5.3"
}