/
package.json
128 lines (128 loc) · 4.02 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
{
"name": "docsmith",
"version": "5.2.4",
"description": "RESTful API for converting clinical documents and files",
"main": "src/app.js",
"repository": "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@outlook.com>",
"engines": {
"node": ">=14.0.0"
},
"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:8204/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:8204/pdf/txt?lastPageToConvert=1\"",
"jest": "jest --detectOpenHandles --runInBand",
"jest:coverage": "jest --coverage --runInBand",
"lint": "eslint . --cache --ext js,jsx,ts,tsx --ignore-path .gitignore",
"lint:licenses": "license-checker --direct --excludePackages=\"buffers@0.1.1;language-subtag-registry@0.3.21;tesseract.js-core@2.2.0\" --onlyAllow=\"0BSD;Apache-2.0;Apache 2.0;BSD;BSD-2-Clause;BSD-3-Clause;ISC;MIT;Python-2.0;Unlicense\" --production --summary",
"lint:prettier": "prettier . --write --ignore-unknown",
"lint:prettier:ci": "prettier . --check --ignore-unknown",
"prepare": "husky install && rm -rf .git/hooks && ln -s ../.husky .git/hooks",
"start": "node .",
"start:dev": "nodemon",
"test": "npm run lint && npm run jest"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"clearMocks": true,
"collectCoverageFrom": [
"src/**/*.js",
"!src/app.js"
],
"coverageReporters": [
"text",
"lcovonly"
],
"resetMocks": true,
"testEnvironment": "node",
"testTimeout": 60000
},
"nodemonConfig": {
"env": {
"NODE_ENV": "development",
"SUPPRESS_SUPPORT": 1
},
"ignore": [
"src/temp",
"test_resources"
],
"verbose": true,
"watch": [
".env",
"src"
]
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"autocannon": "^7.5.0",
"eslint": "^8.1.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-jsdoc": "^37.0.3",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-security-node": "^1.0.14",
"faker": "^5.5.3",
"husky": "^7.0.4",
"is-html": "^2.0.0",
"jest": "^27.4.2",
"license-checker": "^25.0.1",
"lodash": "^4.17.21",
"nodemon": "^2.0.15",
"prettier": "2.4.1"
},
"dependencies": {
"auto-parse": "^1.8.0",
"cssesc": "^3.0.0",
"cssom": "^0.5.0",
"dotenv": "^10.0.0",
"env-schema": "^3.5.0",
"fastify": "^3.24.0",
"fastify-accepts": "^2.1.0",
"fastify-autoload": "^3.9.0",
"fastify-bearer-auth": "^6.0.0",
"fastify-compress": "^3.6.1",
"fastify-cors": "^6.0.2",
"fastify-disablecache": "^2.0.4",
"fastify-floc-off": "^1.0.3",
"fastify-helmet": "^5.3.2",
"fastify-plugin": "^3.0.0",
"fastify-rate-limit": "^5.6.2",
"fastify-sensible": "^3.1.2",
"fastify-static": "^4.5.0",
"fastify-swagger": "^4.12.6",
"file-stream-rotator": "^0.5.7",
"file-type": "^16.5.3",
"fix-utf8": "^1.1.1",
"fluent-json-schema": "^3.0.1",
"glob": "^7.2.0",
"htmltidy2": "^0.3.0",
"jsdom": "^18.1.1",
"language-tags": "^1.0.5",
"mammoth": "^1.4.19",
"node-poppler": "^5.1.0",
"node-unrtf": "^2.0.5",
"physical-cpu-count": "^2.0.0",
"pino": "^7.5.0",
"pino-pretty": "^7.2.0",
"raw-body": "^2.4.2",
"redoc": "^2.0.0-rc.58",
"secure-json-parse": "^2.4.0",
"tesseract.js": "^2.1.5",
"under-pressure": "^5.8.0",
"upath": "^2.0.1",
"uuid": "^8.3.2"
}
}