-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.74 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 3.74 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
{
"name": "docsmith",
"version": "12.0.2",
"description": "RESTful API for converting clinical documents and files",
"main": "dist/app.js",
"type": "commonjs",
"repository": {
"type": "git",
"url": "git+https://github.com/Fdawgs/docsmith.git"
},
"homepage": "https://github.com/Fdawgs/docsmith",
"bugs": {
"url": "https://github.com/Fdawgs/docsmith/issues"
},
"license": "MIT",
"author": "Frazer Smith <frazer.dev@icloud.com>",
"funding": "https://github.com/sponsors/Fdawgs",
"engines": {
"node": ">=20"
},
"scripts": {
"benchmark:html": "autocannon -a 100 -m POST -i \"./test/files/pdf_1.3_NHS_Constitution.pdf\" -H \"Content-Type:application/pdf\" \"http://0.0.0.0:3000/pdf/html?lastPageToConvert=1\"",
"benchmark:txt": "autocannon -a 100 -m POST -i \"./test/files/pdf_1.3_NHS_Constitution.pdf\" -H \"Content-Type:application/pdf\" \"http://0.0.0.0:3000/pdf/txt?lastPageToConvert=1\"",
"build": "node scripts/esbuild.js",
"lint:eslint:fix": "npm run lint:eslint -- --fix",
"lint:eslint": "eslint . --cache",
"lint:fix": "npm run lint:eslint:fix && npm run lint:prettier:fix",
"lint:licenses": "licensee --errors-only --production",
"lint:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -s -i",
"lint:prettier:fix": "prettier . -w -u",
"lint:prettier": "prettier . -c -u",
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:licenses && npm run lint:lockfile",
"prepare": "npx playwright install firefox --with-deps",
"start:dev": "node --watch src/app.js | pino-pretty",
"start": "node .",
"test:unit:coverage": "jest --coverage",
"test:unit": "jest",
"test": "npm run lint && npm run test:unit"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"!src/app.js",
"!src/utils/core-count/index.js"
],
"coverageReporters": [
"text",
"lcovonly"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"injectGlobals": false,
"testEnvironment": "node",
"testTimeout": 60000
},
"devDependencies": {
"@commitlint/cli": "^20.2.0",
"@commitlint/config-conventional": "^20.2.0",
"@eslint/compat": "^1.4.1",
"@fdawgs/eslint-config": "^1.0.9",
"@jest/globals": "^30.2.0",
"autocannon": "^8.0.0",
"esbuild": "^0.25.10",
"eslint": "^9.39.1",
"eslint-plugin-jest": "^29.0.1",
"jest": "^30.2.0",
"licensee": "^11.1.1",
"lockfile-lint": "^4.14.1",
"pino-pretty": "^13.1.3",
"playwright": "^1.57.0",
"prettier": "3.8.4"
},
"dependencies": {
"@fastify/accepts": "^5.0.4",
"@fastify/autoload": "^6.3.1",
"@fastify/bearer-auth": "^10.1.2",
"@fastify/compress": "^8.3.1",
"@fastify/cors": "^11.2.0",
"@fastify/helmet": "^13.0.2",
"@fastify/rate-limit": "^10.3.0",
"@fastify/sensible": "^6.0.4",
"@fastify/static": "^8.3.0",
"@fastify/swagger": "^9.6.1",
"@fastify/under-pressure": "^9.0.3",
"camelcase": "^6.3.0",
"cfb": "^1.2.2",
"clean-css": "^5.3.3",
"cssesc": "^3.0.0",
"cssom": "^0.5.0",
"env-schema": "^7.0.0",
"fastify": "^5.6.2",
"fastify-disablecache": "^5.0.0",
"fastify-floc-off": "^4.0.0",
"fastify-json-to-xml": "^3.0.0",
"fastify-plugin": "^5.1.0",
"file-stream-rotator": "^1.0.0",
"file-type": "^16.5.4",
"fix-latin1-to-utf8": "^2.0.5",
"fluent-json-schema": "^6.0.0",
"glob": "^11.1.0",
"html-minifier-terser": "^7.2.0",
"html-to-text": "^9.0.5",
"htmltidy2": "^1.2.0",
"is-html": "^2.0.0",
"jsdom": "^27.0.0",
"language-tags": "^1.0.9",
"mammoth": "^1.11.0",
"node-poppler": "^9.1.2",
"node-unrtf": "^7.0.1",
"pino": "^10.3.1",
"redoc": "^2.5.2",
"secure-json-parse": "^4.1.0",
"tesseract.js": "^6.0.1",
"word-extractor": "^1.0.4"
}
}