-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
127 lines (126 loc) · 3.05 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
{
"name": "help-with-prison-visits-external",
"version": "1.0.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ministryofjustice/help-with-prison-visits-external.git"
},
"engines": {
"node": "^22",
"npm": "^10"
},
"scripts": {
"record-build-info": "node scripts/record-build-info",
"start": "npm run css-build && node ./app/bin/www",
"security_audit": "npx audit-ci --config audit-ci.json",
"test": "standard --env jest && npm run test-unit",
"test-unit": "jest ./test/unit",
"test-coverage": "nyc npm run test-unit",
"test-integration": "KNEX_CONFIG=testing mocha --recursive test/integration/ --timeout 15000 --exit",
"test-e2e": "KNEX_CONFIG=testing cypress run --config video=false",
"test-e2e-ui": "KNEX_CONFIG=testing cypress open",
"test-load": "cd test/load && ../../node_modules/.bin/artillery run scenarios.yaml cd ../../",
"css-build": "./build-css"
},
"jest": {
"collectCoverageFrom": [
"app/**/*.{ts,js,jsx,mjs}"
],
"testPathIgnorePatterns" : [
"<rootDir>/test/unit/routes/mock-view-engine.js"
],
"testMatch": [
"<rootDir>/test/unit/**/?(*.){ts,js,jsx,mjs}"
],
"testEnvironment": "node",
"reporters": [
"default",
[
"jest-junit",
{
"outputDirectory": "test_results/jest/"
}
],
[
"./node_modules/jest-html-reporter",
{
"outputPath": "test_results/unit-test-reports.html"
}
]
],
"moduleFileExtensions": [
"web.js",
"js",
"json",
"node",
"ts"
]
},
"standard": {
"ignore": [
"jquery*.js",
"ga.js",
"app/**/javascripts/*.js"
],
"globals": [
"describe",
"before",
"beforeEach",
"afterEach",
"after",
"it",
"browser",
"$",
"cy",
"expect"
]
},
"dependencies": {
"@aws-sdk/client-s3": "^3.705.0",
"applicationinsights": "^2.9.6",
"axios": "^1.7.9",
"bases": "^0.2.1",
"bunyan": "^1.8.15",
"bunyan-prettystream": "^0.1.3",
"clamscan": "^2.4.0",
"compression": "^1.7.5",
"cookie-parser": "^1.4.7",
"cookie-session": "^2.1.0",
"csurf": "^1.11.0",
"debug": "^4.4.0",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"govuk-frontend": "^5.7.1",
"helmet": "^8.0.0",
"i18n": "^0.15.1",
"jquery": "^3.7.1",
"jquery-ui-dist": "^1.13.3",
"knex": "^3.1.0",
"mkdirp": "^3.0.1",
"moment": "^2.30.1",
"multer": "^1.4.5-lts.1",
"nunjucks": "^3.2.4",
"on-finished": "^2.4.1",
"path": "^0.12.7",
"sanitize-html": "^2.13.1",
"sass": "^1.82.0",
"tedious": "^19.0.0",
"validator": "^13.12.0"
},
"devDependencies": {
"cypress": "^13.16.1",
"jest": "^29.7.0",
"jest-html-reporter": "^3.10.2",
"jest-junit": "^16.0.0",
"node-mocks-http": "^1.16.1",
"nyc": "^17.1.0",
"standard": "^17.1.2",
"supertest": "^7.0.0"
},
"overrides": {
"csurf": {
"cookie": "0.7.2"
}
}
}