This repository has been archived by the owner on Jan 28, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
126 lines (126 loc) · 3.68 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
{
"name": "yh-sider-obfuscation-service",
"version": "11.1.14",
"description": "Yeovil Hospital's SIDeR contextual link obfuscation service",
"main": "dist/app.js",
"type": "commonjs",
"repository": "git+https://github.com/Fdawgs/yh-sider-obfuscation-service.git",
"homepage": "https://github.com/Fdawgs/yh-sider-obfuscation-service",
"bugs": {
"url": "https://github.com/Fdawgs/yh-sider-obfuscation-service/issues"
},
"license": "MIT",
"author": "Frazer Smith <[email protected]>",
"funding": "https://justgiving.com/yeovilhospital",
"engines": {
"node": ">=18.12.1"
},
"scripts": {
"benchmark": "autocannon -a 1000 \"http://0.0.0.0:3000/redirect?patient=https://fhir.nhs.uk/Id/nhs-number|9449304513&birthdate=1934-10-23&location=https://fhir.nhs.uk/Id/ods-organization-code|RH5&practitioner=https://sider.nhs.uk/auth|[email protected]\"",
"build": "node scripts/esbuild.js",
"jest": "jest",
"jest:coverage": "jest --coverage",
"lint": "eslint . --cache --ext js,jsx --ignore-path .gitignore",
"lint:licenses": "node scripts/license-checker.js",
"lint:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -s -i",
"lint:prettier": "prettier . -c -u",
"lint:prettier:fix": "prettier . -w -u",
"prepare": "husky install && npx playwright install firefox --with-deps",
"start": "node .",
"start:dev": "nodemon src/app.js | pino-pretty",
"test": "npm run lint && npm run jest"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"!src/app.js"
],
"coverageReporters": [
"text",
"lcovonly"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"snapshotResolver": "./.jest.snapshot-resolver.js",
"testEnvironment": "node",
"testTimeout": 60000
},
"nodemonConfig": {
"env": {
"NODE_ENV": "development"
},
"watch": [
".env",
"src/**/!(*.test).*"
]
},
"devDependencies": {
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@eslint-community/eslint-plugin-eslint-comments": "^4.1.0",
"@types/jest": "^29.5.11",
"autocannon": "^7.14.0",
"esbuild": "^0.19.10",
"esbuild-plugin-glob": "^2.2.3",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-jsdoc": "^48.0.4",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-regexp": "^2.2.0",
"eslint-plugin-security": "^2.1.0",
"glob": "^10.3.10",
"husky": "^9.0.6",
"jest": "^29.7.0",
"license-checker": "^25.0.1",
"lockfile-lint": "^4.12.1",
"nock": "^13.5.0",
"nodemon": "^3.0.3",
"pino-pretty": "^10.3.1",
"playwright": "^1.41.1",
"prettier": "^3.1.1",
"spdx-copyleft": "^1.0.0"
},
"dependencies": {
"@blackpear/obfuscated-querystring": "^1.0.0",
"@fastify/accepts": "^4.3.0",
"@fastify/autoload": "^5.8.0",
"@fastify/compress": "^6.5.0",
"@fastify/cors": "^8.5.0",
"@fastify/helmet": "^11.1.1",
"@fastify/rate-limit": "^9.1.0",
"@fastify/sensible": "^5.5.0",
"@fastify/static": "^6.12.0",
"@fastify/swagger": "^8.14.0",
"@fastify/under-pressure": "^8.3.0",
"ajv-formats": "^2.1.1",
"axios": "^1.6.7",
"dotenv": "^16.4.1",
"env-schema": "^5.2.1",
"fast-querystring": "^1.1.2",
"fastify": "^4.25.2",
"fastify-disablecache": "^3.1.9",
"fastify-floc-off": "^2.1.11",
"fastify-json-to-xml": "^1.1.11",
"fastify-plugin": "^4.5.1",
"file-stream-rotator": "^1.0.0",
"fluent-json-schema": "^4.2.1",
"pino": "^8.17.2",
"redoc": "^2.1.3",
"secure-json-parse": "^2.7.0",
"upath": "^2.0.1"
}
}