Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) · 4.5 KB
/
Copy pathpackage.json
File metadata and controls
146 lines (146 loc) · 4.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
{
"name": "hof",
"description": "A bootstrap for HOF projects",
"version": "24.6.0",
"license": "MIT",
"main": "index.js",
"author": "HomeOffice",
"engines": {
"node": ">=20.19.0"
},
"bin": {
"hof-build": "./bin/hof-build",
"hof-transpiler": "./bin/hof-transpiler"
},
"repository": {
"type": "git",
"url": "https://github.com/UKHomeOfficeForms/hof.git"
},
"bugs": {
"url": "https://github.com/UKHomeOfficeForms/hof/issues"
},
"scripts": {
"test": "yarn run unit && yarn run test:jest && yarn run test:functional && yarn run test:vite && yarn run test:lint",
"unit": "LOG_LEVEL=error nyc _mocha \"test/**/*.spec.js\" \"sandbox/test/**/*.spec.js\"",
"unit:nocov": "LOG_LEVEL=error mocha \"test/**/*.spec.js\" \"sandbox/test/**/*.spec.js\"",
"test:lint": "eslint . --config ./.eslintrc.hof-wrapper.js",
"test:functional": "mocha ./test/functional-tests --timeout 20000 --exit",
"test:vite": "vitest run --config test/frontend/toolkit/vitest.config.js",
"test:jest": "jest test/frontend/jest test/integration/index test/utilities/helpers/jest",
"test:acceptance": "TAGS=\"${TAGS:=@feature}\" yarn run test:cucumber",
"test:acceptance_browser": "ACCEPTANCE_WITH_BROWSER=true TAGS=\"${TAGS:=@feature}\" yarn run test:cucumber",
"test:cucumber": "cucumber-js -f @cucumber/pretty-formatter \"sandbox/test/_features/**/*.feature\" --require sandbox/test/_features/test.setup.js --require \"sandbox/test/_features/step_definitions/**/*.js\" --tags $TAGS",
"ci": "travis-conditions",
"postversion": "git push && git push --tags"
},
"dependencies": {
"@aws-sdk/client-sesv2": "^3.1148.0",
"@rollup/plugin-commonjs": "^29.0.3",
"@rollup/plugin-node-resolve": "^16.0.3",
"aliasify": "^2.1.0",
"axios": "^1.19.0",
"bluebird": "^3.7.2",
"body-parser": "^1.20.6",
"callsite": "^1.0.0",
"chalk": "^2.4.2",
"chokidar": "^3.6.0",
"connect-redis": "^5.2.0",
"cookie-parser": "^1.4.7",
"cp": "^0.2.0",
"csrf": "^3.1.0",
"dayjs": "^1.11.23",
"debug": "^4.4.3",
"deprecate": "^1.1.1",
"dialog-polyfill": "^0.5.6",
"dotenv": "^16.6.1",
"duplexify": "^3.7.1",
"exorcist": "^2.0.0",
"express": "^4.22.2",
"express-healthcheck": "^0.1.0",
"express-partial-templates": "^0.2.1",
"express-session": "^1.19.0",
"findup": "^0.1.5",
"glob": "^7.2.3",
"govuk-elements-sass": "^3.1.3",
"govuk-frontend": "4.10",
"govuk_template_mustache": "^0.26.0",
"helmet": "^3.23.3",
"hogan-express-strict": "^0.5.4",
"hogan.js": "^3.0.2",
"homeoffice-countries": "^0.2.0",
"i18n-future": "^2.0.1",
"i18n-lookup": "^0.1.0",
"is-pdf": "^1.0.0",
"libphonenumber-js": "^1.13.15",
"lodash": "^4.18.1",
"markdown-it": "^14.3.0",
"minimatch": "^4.2.6",
"minimist": "^1.2.8",
"mixwith": "^0.1.1",
"morgan": "^1.11.0",
"mustache": "^4.2.0",
"notifications-node-client": "^8.5.0",
"redis": "^3.1.2",
"reqres": "^3.0.1",
"rimraf": "^3.0.2",
"sass": "^1.102.0",
"serve-static": "^1.16.3",
"uglify-js": "^3.19.3",
"underscore": "^1.13.8",
"urijs": "^1.19.11",
"uuid": "^11.1.1",
"winston": "^3.18.3",
"vite": "^7.3.6"
},
"devDependencies": {
"@cucumber/cucumber": "^7.3.2",
"@cucumber/pretty-formatter": "^4.0.1",
"@types/jest": "^30.0.0",
"@vitest/coverage-v8": "^4.1.10",
"@xmldom/xmldom": "~0.9.11",
"chai": "^3.5.0",
"chai-as-promised": "^7.1.2",
"chai-subset": "^1.6.0",
"concat-stream": "^1.6.2",
"csv": "^5.5.3",
"eslint": "^8.57.1",
"eslint-config-hof": "^1.3.4",
"istanbul": "^0.4.5",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"mocha": "^11.8.0",
"mocha-sandbox": "^1.0.0",
"node-mocks-http": "^1.18.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"playwright": "^1.64.0",
"postcode": "0.2.5",
"proxyquire": "^1.8.0",
"release-it": "^20.2.1",
"sinon": "^11.1.2",
"sinon-chai": "^3.7.0",
"supertest": "^3.4.2",
"travis-conditions": "0.0.0",
"vitest": "^4.1.10",
"watchify": "^4.0.0"
},
"jest": {
"testEnvironment": "jsdom"
},
"mocha": {
"reporter": "spec",
"require": "test/common.js",
"recursive": "true",
"timeout": "9000",
"exit": "true"
},
"resolutions": {
"vite": "^7.3.6",
"form-data": "^4.0.6",
"js-yaml": "^4.2.0",
"qs": "^6.14.1",
"serialize-javascript": "^7.0.3",
"tough-cookie": "^4.1.3",
"esbuild": "^0.28.1"
}
}