-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
50 lines (50 loc) · 1.48 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
{
"name": "pdfmkr",
"version": "0.5.6",
"description": "Generate PDF documents from JavaScript objects",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/eclipsesource/pdf-maker.git"
},
"homepage": "https://github.com/eclipsesource/pdf-maker#readme",
"keywords": [
"pdf-maker",
"pdf"
],
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/index.js",
"module": "./dist/index.js"
},
"engines": {
"node": ">=20",
"npm": ">=10"
},
"scripts": {
"build": "rm -rf build/ dist/ && tsc && esbuild src/index.ts --bundle --sourcemap --platform=browser --target=es2022 --outdir=dist --format=esm --external:pdf-lib --external:@pdf-lib/fontkit && cp -a build/index.d.ts build/api/ dist/",
"lint": "eslint '{src,test}/**/*.{js,ts}' --max-warnings 0 && prettier --check .",
"test": "vitest run test",
"fix": "eslint '{src,test}/**/*.{js,ts}' --fix && prettier -w ."
},
"dependencies": {
"@pdf-lib/fontkit": "^1.1.1",
"pdf-lib": "^1.17.1"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@vitest/coverage-v8": "^2.1.8",
"esbuild": "^0.24.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"prettier": "^3.4.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0",
"vitest": "^2.1.8"
}
}