-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
125 lines (125 loc) · 4.16 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
{
"name": "rpe-expressjs-template",
"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": "jest --coverage",
"test:routes": "jest -c jest.routes.config.js",
"test:a11y": "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": {
"@hmcts/info-provider": "^1.1.0",
"@hmcts/nodejs-healthcheck": "^1.8.0",
"@hmcts/nodejs-logging": "^4.0.4",
"@hmcts/properties-volume": "^1.2.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": "^4.17.17",
"@types/glob": "^8.1.0",
"@types/helmet": "^4.0.0",
"@types/lodash": "^4.14.197",
"@types/node": "^20.0.0",
"@types/nunjucks": "^3.2.3",
"@types/require-directory": "^2.1.2",
"@types/serve-favicon": "^2.5.4",
"applicationinsights": "^3.2.1",
"axios": "^1.4.0",
"body-parser": "^1.20.2",
"config": "^3.3.9",
"cookie-parser": "^1.4.6",
"csurf": "^1.11.0",
"express": "^4.18.2",
"express-nunjucks": "^3.1.1",
"glob": "^10.3.3",
"govuk-frontend": "4.8.0",
"helmet": "^7.0.0",
"jquery": "^3.7.0",
"lodash": "^4.17.21",
"nunjucks": "^3.2.4",
"postcss": "^8.4.27",
"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.2.0",
"typescript": "^5.1.6"
},
"devDependencies": {
"@babel/core": "^7.22.11",
"@babel/eslint-parser": "^7.22.11",
"@babel/preset-env": "^7.22.14",
"@codeceptjs/allure-legacy": "^1.0.2",
"@codeceptjs/configure": "^1.0.0",
"@types/chai-as-promised": "^7.1.5",
"@types/jest": "^29.5.4",
"@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.1.3",
"chai": "^4.3.7",
"chai-as-promised": "^8.0.0",
"codeceptjs": "^3.5.3",
"copy-webpack-plugin": "9.1.0",
"css-loader": "^7.0.0",
"debug": "^4.3.4",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest": "^28.0.0",
"html-webpack-plugin": "^5.5.3",
"husky": "^9.0.0",
"jest": "^29.6.2",
"jest-html-reporter": "^3.10.1",
"lint-staged": "^15.0.0",
"mini-css-extract-plugin": "^2.7.6",
"nock": "^13.3.2",
"nodemon": "^3.0.0",
"pa11y": "^8.0.0",
"playwright": "^1.36.2",
"prettier": "^3.0.0",
"request": "^2.88.2",
"sass": "^1.65.1",
"sass-loader": "^14.0.0",
"sinon": "^18.0.0",
"sinon-chai": "^3.7.0",
"style-loader": "^4.0.0",
"supertest": "^7.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-middleware": "^7.0.0",
"webpack-node-externals": "^3.0.0"
},
"resolutions": {
"@opentelemetry/instrumentation": "0.52.1",
"semver": "^7.5.2",
"axios": ">1.6.0"
},
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix",
"*.{js,ts,css,md,html,json}": "prettier --write"
},
"packageManager": "[email protected]"
}