forked from dichovsky/pdf-to-png-converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.85 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
{
"name": "@entrecode/pdf-to-png-converter",
"version": "3.0.0",
"description": "Node.js utility to convert PDF file/buffer pages to PNG files/buffers with no native dependencies.",
"keywords": [
"pdf",
"pdf to png",
"pdf to image",
"pdf file to image",
"pdf buffer to image"
],
"homepage": "https://github.com/dichovsky/pdf-to-png-converter#readme",
"bugs": {
"url": "https://github.com/dichovsky/pdf-to-png-converter/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/entrecode/pdf-to-png-converter.git"
},
"license": "MIT",
"author": "Igor Magdich <magdich.igor@gmail.com>",
"main": "out/index.js",
"types": "out/index.d.ts",
"files": [
"/out"
],
"scripts": {
"build": "npm run clean && npm run tsc",
"clean": "rimraf ./out ./coverage ./test-results",
"docker:build": "docker build --compress -t test-pdf-to-png-converter .",
"predocker:run": "npm run clean",
"docker:run": "docker run --rm -it -v $PWD/test-results:/usr/pkg/test-results test-pdf-to-png-converter",
"docker:test": "jest",
"license-checker": "npx license-checker --production --onlyAllow 'MIT; MIT OR X11; BSD; ISC; Apache-2.0; Unlicense'",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"pretest": "npm run clean",
"test": "jest",
"test:docker": "npm run docker:build && npm run docker:run",
"tsc": "tsc --pretty"
},
"dependencies": {
"canvas": "^2.11.2",
"pdfjs-dist": "^3.5.141"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"eslint": "^8.38.0",
"jest": "^29.5.0",
"png-visual-compare": "^1.2.0",
"rimraf": "^4.4.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
}
}