-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.1 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 2.1 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
{
"name": "@pdfbolt/node",
"version": "1.0.1",
"description": "Official Node.js SDK for the PDFBolt API.",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/pdfbolt/pdfbolt-node.git"
},
"bugs": {
"url": "https://github.com/pdfbolt/pdfbolt-node/issues"
},
"homepage": "https://github.com/pdfbolt/pdfbolt-node#readme",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"engines": {
"node": ">=22"
},
"scripts": {
"clean": "rm -rf dist",
"check:node": "node -e \"const major = Number(process.versions.node.split('.')[0]); if (major < 22) { console.error('Node.js 22 or newer is required.'); process.exit(1); }\"",
"build": "npm run clean && npm run build:esm && npm run build:cjs && node scripts/write-cjs-package.js",
"build:esm": "tsc -p tsconfig.build.esm.json",
"build:cjs": "tsc -p tsconfig.build.cjs.json",
"typecheck": "tsc --noEmit",
"test": "npm run build && node --test test/*.test.js test/*.test.cjs",
"test:pack": "npm run build && node scripts/test-pack.js",
"test:integration": "npm run build && node --test test/integration.test.js && node --test test/integration-sync-template.test.js",
"test:integration:core": "npm run build && node --test test/integration.test.js",
"test:integration:sync-template": "npm run build && node --test test/integration-sync-template.test.js",
"prepublishOnly": "npm run check:node && npm run typecheck && npm run test && npm run test:pack"
},
"keywords": [
"pdfbolt",
"pdf",
"html-to-pdf",
"url-to-pdf",
"pdf-generation",
"webhook",
"serverless",
"node",
"typescript"
],
"author": "PDFBolt",
"license": "MIT",
"devDependencies": {
"@types/node": "^22.0.0",
"typescript": "^5.0.0"
}
}