Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.32 KB
/
Copy pathpackage.json
File metadata and controls
109 lines (109 loc) · 3.32 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
{
"name": "@cloudpdf/server",
"version": "3.4.0",
"private": false,
"description": "Self-hostable CloudPDF document engine server: Fastify-based HTTP/REST API in front of a Node worker_thread pool running the native EmbedPDF Runtime (PDFium fork) via @embedpdf/engine-runtime. Uses the same engine-services code as the local browser engine.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./modules": {
"types": "./dist/modules/index.d.ts",
"default": "./dist/modules/index.js"
},
"./bin": {
"default": "./dist/bin/cloudpdf-server.js"
}
},
"bin": {
"cloudpdf-server": "./dist/bin/cloudpdf-server.js"
},
"scripts": {
"build": "tsup",
"clean": "rimraf dist",
"dev": "tsup --watch",
"start": "node dist/bin/cloudpdf-server.js",
"lint": "eslint src --color",
"lint:fix": "eslint src --color --fix",
"bench:isolation": "node --import tsx --import ./test/bench/register-sql-loader.mjs test/bench/isolation-bench.ts",
"bench:edit-sessions": "node --import tsx --import ./test/bench/register-sql-loader.mjs test/bench/edit-sessions-bench.ts",
"test": "vitest run"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/embedpdf/embed-pdf-viewer.git",
"directory": "cloudpdf/server"
},
"homepage": "https://www.embedpdf.com",
"bugs": {
"url": "https://github.com/embedpdf/embed-pdf-viewer/issues"
},
"keywords": [
"pdf",
"cloudpdf",
"server",
"self-hosted"
],
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@cloudpdf/contract": "workspace:*",
"@embedpdf/core-fonts": "workspace:*",
"@embedpdf/core-signature": "workspace:*",
"@embedpdf/default-fallback-fonts": "workspace:*",
"@embedpdf/engine-core": "workspace:*",
"@embedpdf/engine-runtime": "workspace:*",
"@embedpdf/engine-services": "workspace:*",
"@fastify/busboy": "^3.2.6",
"@fastify/compress": "^8",
"@fastify/cors": "^11.3.0",
"@fastify/multipart": "^9.4.0",
"better-sqlite3": "^12.10.0",
"fastify": "^5.12.8",
"jose": "^6.2.3",
"kysely": "^0.29.0",
"pg": "^8.20.0",
"prom-client": "^15.1.3",
"sharp": "^0.35.5",
"zod": "^4.6.6"
},
"devDependencies": {
"@cloudpdf/sdk": "workspace:^",
"@smithy/util-stream": "^4.6.1",
"@testcontainers/postgresql": "^11.14.0",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "latest",
"@types/pg": "^8.20.0",
"aws-sdk-client-mock": "^4.1.0",
"rimraf": "^5.0.0",
"testcontainers": "^11.14.0",
"tsup": "^8.3.0",
"tsx": "^4.21.0",
"typescript": "^5.0.0",
"vitest": "^2.1.0"
},
"publishConfig": {
"access": "public"
},
"optionalDependencies": {
"@aws-sdk/client-kms": "^3.1045.0",
"@aws-sdk/client-s3": "^3.1045.0",
"@aws-sdk/client-secrets-manager": "^3.1045.0",
"@aws-sdk/s3-request-presigner": "^3.1045.0",
"@azure/identity": "^4.14.1",
"@azure/keyvault-keys": "^4.10.0",
"@azure/keyvault-secrets": "^4.11.2",
"@azure/storage-blob": "^12.28.0",
"@google-cloud/kms": "^5.5.0",
"@google-cloud/secret-manager": "^6.1.2",
"@google-cloud/storage": "^7.18.0"
}
}