-
-
Notifications
You must be signed in to change notification settings - Fork 110
/
Copy pathpackage.json
107 lines (107 loc) · 2.49 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "md-to-pdf",
"version": "3.0.0",
"description": "CLI tool for converting Markdown files to PDF.",
"keywords": [
"markdown-to-pdf",
"cli",
"pdf-generation",
"documentation",
"assignments",
"homework",
"markdown",
"pdf",
"puppeteer",
"headless-chrome"
],
"engines": {
"node": ">= 10.0.0"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"start": "tsc --watch",
"build": "tsc",
"prepare": "npm run build",
"test": "xo && nyc ava src/test/lib.spec.ts && ava src/test/api.spec.ts && ava src/test/cli.spec.ts",
"release": "npx standard-version --infile=changelog.md && git push --follow-tags origin master && npm publish",
"loc": "npx cloc src --exclude-dir=test --by-file"
},
"bin": {
"md-to-pdf": "dist/cli.js",
"md2pdf": "dist/cli.js"
},
"author": "Simon Haenisch (https://github.com/simonhaenisch)",
"license": "MIT",
"repository": "simonhaenisch/md-to-pdf",
"homepage": "https://github.com/simonhaenisch/md-to-pdf#readme",
"dependencies": {
"arg": "4.1.2",
"chalk": "3.0.0",
"chokidar": "3.3.1",
"get-port": "5.1.1",
"get-stdin": "7.0.0",
"gray-matter": "4.0.2",
"highlight.js": "9.18.0",
"iconv-lite": "0.5.1",
"listr": "0.14.3",
"marked": "0.8.0",
"puppeteer": "^2.1.0",
"serve-handler": "6.1.2"
},
"devDependencies": {
"@types/highlight.js": "9.12.3",
"@types/listr": "0.14.2",
"@types/marked": "0.7.2",
"@types/puppeteer": "2.0.0",
"@types/serve-handler": "6.1.0",
"ava": "3.1.0",
"husky": "4.2.1",
"nyc": "15.0.0",
"prettier": "1.19.1",
"prettier-plugin-organize-imports": "1.0.0",
"tap-xunit": "2.4.1",
"ts-node": "8.6.2",
"typescript": "3.7.5",
"xo": "0.25.3"
},
"husky": {
"hooks": {
"post-merge": "git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep --quiet package-lock.json && npm install"
}
},
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": true,
"bracketSpacing": true
},
"xo": {
"prettier": true,
"rules": {
"camelcase": [
"error",
{
"properties": "never"
}
],
"capitalized-comments": "off",
"valid-jsdoc": [
"warn",
{
"requireReturnType": false
}
]
}
}
}