-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
105 lines (105 loc) · 2.79 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
{
"name": "help-with-prison-visits-asynchronous-worker",
"version": "1.0.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ministryofjustice/help-with-prison-visits-asynchronous-worker/"
},
"engines": {
"node": "^20",
"npm": "^10"
},
"scripts": {
"record-build-info": "node scripts/record-build-info",
"start-worker-tasks": "node start-worker-tasks.js",
"start-daily-tasks": "node start-daily-tasks.js",
"start-payment-run": "node start-payment-run.js",
"start-daily-auto-approval-check": "node start-daily-auto-approval-check.js",
"security_audit": "npx audit-ci --config audit-ci.json",
"test": "npm run lint && npm run test-unit",
"test-unit": "jest ./test/unit",
"test-integration": "KNEX_CONFIG=testing mocha --recursive test/integration/ --timeout 15000 --exit",
"test-coverage": "nyc npm run test-unit",
"lint": "eslint . --cache --max-warnings 0",
"lint-fix": "eslint . --fix"
},
"jest": {
"collectCoverageFrom": [
"server/**/*.{ts,js,jsx,mjs}"
],
"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"
]
},
"lint-staged": {
"*.{ts,js,css}": [
"prettier --write",
"eslint --fix"
],
"*.json": [
"prettier --write"
]
},
"dependencies": {
"@aws-sdk/client-s3": "^3.621.0",
"applicationinsights": "^2.9.5",
"axios": "^1.7.2",
"bunyan": "^1.8.15",
"bunyan-prettystream": "^0.1.3",
"csv-stringify": "^6.5.1",
"dotenv": "^16.4.5",
"knex": "^3.1.0",
"lodash": "^4.17.21",
"mkdirp": "^3.0.1",
"moment": "^2.30.1",
"notifications-node-client": "8.2.0",
"path": "^0.12.7",
"sftp-promises": "^1.8.0",
"tedious": "^18.3.0",
"uuid": "^10.0.0",
"xlsx-populate": "^1.21.0",
"xml2js": "^0.6.2",
"xml2js-xpath": "^0.13.0"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-cypress": "^3.4.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"jest-html-reporter": "^3.10.2",
"jest-junit": "^16.0.0",
"lint-staged": "^15.2.7",
"nyc": "^17.0.0",
"proxyquire": "^2.1.3",
"supertest": "^7.0.0"
}
}