-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.95 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.95 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
{
"name": "pdfkit-commonmark",
"version": "1.3.0",
"description": "A markdown renderer (using commonmark) for pdfkit.",
"type": "module",
"main": "dist/cjs/commonmark-pdfkit-renderer.js",
"module": "dist/esm/commonmark-pdfkit-renderer.js",
"exports": {
".": {
"import": "./dist/esm/commonmark-pdfkit-renderer.js",
"require": "./dist/cjs/commonmark-pdfkit-renderer.js",
"default": "./dist/cjs/commonmark-pdfkit-renderer.js"
}
},
"bin": "dist/cjs/cli.js",
"directories": {
"lib": "src/"
},
"repository": {
"type": "git",
"url": "https://github.com/maiers/pdfkit-commonmark.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"scripts": {
"clean": "rm -rf dist/",
"build:cjs": "babel --out-dir dist/cjs/ src/ && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build:esm": "cp -r src/ dist/esm/",
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"test": "node --test --test-concurrency=1 test/*.spec.js",
"test:coverage": "c8 --reporter=html --reporter=text node --test --test-concurrency=1 test/*.spec.js",
"lint": "eslint src/",
"lint:fix": "eslint --fix src/",
"prepublishOnly": "npm run build"
},
"keywords": [
"markdown",
"commonmark",
"pdf",
"pdfkit",
"render"
],
"author": "Sebastian <sebastian@comci.de>",
"license": "MIT",
"peerDependencies": {
"commonmark": ">= 0.29.2 < 1.0.0",
"pdfkit": ">= 0.8.3 < 1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"c8": "^11.0.0",
"commonmark": "^0.31.2",
"eslint": "^8.18.0",
"eslint-plugin-async-await": "0.0.0",
"mupdf": "^1.27.0",
"pdfkit": "^0.18.0",
"pixelmatch": "^7.1.0"
}
}