-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
135 lines (135 loc) · 4.01 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
128
129
130
131
132
133
134
135
{
"name": "docsmith",
"version": "12.0.0",
"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 <[email protected]>",
"funding": "https://github.com/sponsors/Fdawgs",
"engines": {
"node": ">=20"
},
"scripts": {
"benchmark:html": "autocannon -a 100 -m POST -i \"./test_resources/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_resources/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",
"jest": "jest",
"jest:coverage": "jest --coverage",
"lint": "eslint . --cache --ext js,jsx --ignore-path .gitignore",
"lint:fix": "npm run lint -- --fix",
"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 && npx playwright install firefox --with-deps",
"start": "node .",
"start:dev": "node --watch src/app.js | pino-pretty",
"test": "npm run lint && npm run lint:prettier && npm run jest"
},
"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
}
},
"snapshotResolver": "./.jest.snapshot-resolver.js",
"testEnvironment": "node",
"testTimeout": 60000
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
"@types/jest": "^29.5.14",
"autocannon": "^8.0.0",
"esbuild": "^0.24.0",
"esbuild-plugin-glob": "^2.2.3",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jsdoc": "^50.5.0",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-regexp": "^2.7.0",
"eslint-plugin-security": "^3.0.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"license-checker": "^25.0.1",
"lockfile-lint": "^4.14.0",
"pino-pretty": "^13.0.0",
"playwright": "^1.49.0",
"prettier": "^3.3.3",
"spdx-copyleft": "^1.0.0"
},
"dependencies": {
"@fastify/accepts": "^5.0.1",
"@fastify/autoload": "^6.0.2",
"@fastify/bearer-auth": "^10.0.1",
"@fastify/compress": "^8.0.1",
"@fastify/cors": "^10.0.1",
"@fastify/helmet": "^13.0.0",
"@fastify/rate-limit": "^10.2.1",
"@fastify/sensible": "^6.0.1",
"@fastify/static": "^8.0.3",
"@fastify/swagger": "^9.4.0",
"@fastify/under-pressure": "^9.0.1",
"camelcase": "^6.3.0",
"cfb": "^1.2.2",
"clean-css": "^5.3.3",
"cssesc": "^3.0.0",
"cssom": "^0.5.0",
"env-schema": "^6.0.0",
"fastify": "^5.1.0",
"fastify-disablecache": "^4.0.0",
"fastify-floc-off": "^3.0.0",
"fastify-json-to-xml": "^2.0.0",
"fastify-plugin": "^5.0.1",
"file-stream-rotator": "^1.0.0",
"file-type": "^16.5.4",
"fix-latin1-to-utf8": "^1.0.3",
"fluent-json-schema": "^5.0.0",
"glob": "^11.0.0",
"html-minifier-terser": "^7.2.0",
"html-to-text": "^9.0.5",
"htmltidy2": "^1.2.0",
"is-html": "^2.0.0",
"jsdom": "^25.0.1",
"language-tags": "^1.0.9",
"mammoth": "^1.8.0",
"node-poppler": "^7.2.2",
"node-unrtf": "^5.0.4",
"pino": "^9.5.0",
"redoc": "^2.2.0",
"secure-json-parse": "^3.0.1",
"tesseract.js": "^5.1.1",
"upath": "^2.0.1",
"word-extractor": "^1.0.4"
}
}