forked from westrik/mdpdf
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.67 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 1.67 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
62
63
64
65
66
67
{
"name": "@mintplex-labs/mdpdf",
"version": "0.1.9",
"description": "Convert Markdown to PDF using a self-contained Rust binary",
"repository": {
"type": "git",
"url": "https://github.com/Mintplex-Labs/mdpdf"
},
"author": "Mintplex Labs",
"license": "MIT",
"keywords": [
"markdown",
"pdf",
"typst",
"rust",
"napi-rs"
],
"engines": {
"node": ">= 18.17.0 < 19 || >= 20.3.0 < 21 || >= 21.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"files": [
"index.d.ts",
"index.js"
],
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": {
"import": "./index.js",
"require": "./index.js",
"default": "./index.js"
}
},
"napi": {
"binaryName": "mdpdf",
"targets": [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"x86_64-pc-windows-msvc"
]
},
"scripts": {
"build": "yarn napi build --platform --release --features node",
"build:debug": "yarn napi build --platform",
"prepublishOnly": "yarn napi prepublish -t npm",
"artifacts": "yarn napi artifacts",
"test": "node tests/test.mjs",
"test:clean": "node -e \"require('fs').readdirSync('tests').filter(f=>/\\.(pdf|typ)$/.test(f)).forEach(f=>require('fs').unlinkSync('tests/'+f))\"",
"lint": "prettier --check .",
"lint:fix": "prettier -w .",
"typecheck": "tsc"
},
"devDependencies": {
"@napi-rs/cli": "3.0.3",
"@types/node": "^24.1.0",
"prettier": "^3.6.2",
"typescript": "^5.8.3"
}
}