-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.29 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.29 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
{
"name": "tinypdf",
"version": "0.3.1",
"description": "Minimal PDF creation library. <400 LOC, zero dependencies, makes real PDFs.",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "bun build ./src/index.ts --outdir ./dist --target node && bun run build:cjs && bun run build:types",
"build:cjs": "bun build ./src/index.ts --outfile ./dist/index.cjs --target node --format cjs",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist src/index.ts",
"test": "bun test",
"prepublishOnly": "bun run build"
},
"keywords": [
"pdf",
"pdf-generator",
"pdf-creation",
"document",
"minimal",
"zero-dependencies"
],
"author": "Lulzx",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Lulzx/tinypdf.git"
},
"bugs": {
"url": "https://github.com/Lulzx/tinypdf/issues"
},
"homepage": "https://github.com/Lulzx/tinypdf#readme",
"devDependencies": {
"@types/bun": "latest",
"typescript": "^5.9.3"
}
}