-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.35 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "@diplodoc/pdf-generator",
"version": "0.2.1",
"description": "Package to turn Diplodoc projects into PDFs",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/diplodoc-platform/pdf-generator"
},
"bin": {
"pdf-generator": "build/cmd/index.js"
},
"main": "build/index.js",
"files": [
"build",
"src"
],
"scripts": {
"build": "webpack",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint": "npm run lint:js",
"binary": "pkg .",
"test": "npm run build && npm run integration:prepare && jest",
"integration:clean": "rm -rf ./integration-output",
"integration:build": "npx -y --legacy-peer-deps -- @diplodoc/cli -i ./integration -o ./integration-output --single-page",
"integration:prepare": "npm run integration:clean && npm run integration:build"
},
"dependencies": {
"@diplodoc/transform": "^4.18.0",
"async": "^3.2.4",
"puppeteer-chromium-resolver": "^19.1.0",
"puppeteer-core": "^19.5.2",
"walk-sync": "^3.0.0",
"yargs": "^15.4.1"
},
"devDependencies": {
"@babel/core": "7.16.7",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/plugin-syntax-top-level-await": "7.14.5",
"@babel/plugin-transform-runtime": "7.16.8",
"@babel/preset-env": "7.16.8",
"@babel/preset-react": "7.16.7",
"@babel/preset-typescript": "7.16.7",
"@babel/runtime": "7.16.7",
"@gravity-ui/eslint-config": "^2.2.0",
"@gravity-ui/prettier-config": "^1.1.0",
"@gravity-ui/tsconfig": "^1.0.0",
"@types/async": "^3.2.15",
"@types/jest": "^29.5.6",
"@types/jest-image-snapshot": "^6.2.2",
"@types/node": "^16.11.7",
"@types/yargs": "^17.0.13",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"babel-eslint": "^10.1.0",
"babel-loader": "8.2.3",
"eslint": "^8.32.0",
"jest": "^29.7.0",
"jest-image-snapshot": "^6.2.0",
"pdf2pic": "^3.0.3",
"pkg": "^5.8.1",
"prettier": "^2.8.8",
"puppeteer": "^21.4.1",
"raw-loader": "^4.0.2",
"shelljs": "^0.8.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.0"
},
"pkg": {
"scripts": [
"build/cmd/index.js"
],
"targets": [
"node18-linux-x64",
"node18-macos-x64"
]
}
}