-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 2.48 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
{
"name": "hmpps-component-dependencies",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "npm run lint && npm run typecheck && jest --runInBand",
"start": "ts-node -r dotenv/config src/run",
"run-examples": "ts-node -r dotenv/config src/examples",
"lint": "eslint . --cache --max-warnings 0",
"lint-fix": "eslint . --cache --max-warnings 0 --fix",
"typecheck": "tsc",
"prepare": "husky",
"build": "rm -rf dist && tsc",
"security_audit": "npx audit-ci --config audit-ci.json"
},
"author": "Andrew Lee",
"license": "MIT",
"lint-staged": {
"*.{ts,js,css}": [
"prettier --write",
"eslint --fix"
],
"*.json": [
"prettier --write"
]
},
"engines": {
"node": "^20",
"npm": "^10"
},
"jest": {
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"isolatedModules": true
}
]
},
"collectCoverageFrom": [
"server/**/*.{ts,js,jsx,mjs}"
],
"testMatch": [
"<rootDir>/(src)/**/?(*.)(cy|test).{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"
]
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/superagent": "^8.1.6",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"audit-ci": "^6.6.1",
"dotenv": "^16.4.5",
"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-import": "^2.29.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-html-reporter": "^3.10.2",
"jest-junit": "^16.0.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@types/bunyan": "^1.8.11",
"@types/bunyan-format": "^0.2.9",
"applicationinsights": "^2.9.5",
"bunyan": "^1.8.15",
"bunyan-format": "^0.2.1",
"connect-redis": "^7.1.1",
"redis": "^4.6.13",
"superagent": "^9.0.2",
"ts-node": "^10.9.2"
}
}