-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.28 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.28 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
68
69
70
71
72
73
74
75
{
"name": "@truenine/md-compiler",
"type": "module",
"version": "2026.10402.110",
"private": true,
"description": "Rust-powered MDX→Markdown compiler for Node.js with pure-TS fallback",
"license": "AGPL-3.0-only",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs"
},
"./globals": {
"types": "./dist/globals/index.d.mts",
"import": "./dist/globals/index.mjs"
},
"./errors": {
"types": "./dist/errors/index.d.mts",
"import": "./dist/errors/index.mjs"
},
"./markdown": {
"types": "./dist/markdown/index.d.mts",
"import": "./dist/markdown/index.mjs"
}
},
"module": "dist/index.mjs",
"types": "dist/index.d.mts",
"files": [
"dist"
],
"napi": {
"binaryName": "napi-md-compiler",
"targets": [
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"aarch64-apple-darwin",
"x86_64-apple-darwin"
]
},
"scripts": {
"build": "tsx ../../scripts/build-quiet.ts",
"build:all": "run-s build:native build",
"build:native": "napi build --platform --release --output-dir dist -- --features napi",
"build:native:debug": "napi build --platform --output-dir dist -- --features napi",
"build:ts": "tsdown",
"check": "run-p typecheck lint",
"lint": "eslint --cache --cache-location node_modules/.cache/.eslintcache .",
"lintfix": "eslint --fix --cache --cache-location node_modules/.cache/.eslintcache .",
"prepublishOnly": "run-s build",
"test": "run-s test:rust test:ts",
"test:rust": "tsx ../../scripts/cargo-test.ts",
"test:ts": "vitest run --passWithNoTests",
"typecheck": "tsc --noEmit -p tsconfig.lib.json"
},
"devDependencies": {
"@napi-rs/cli": "catalog:",
"@types/estree": "catalog:",
"@types/estree-jsx": "catalog:",
"@types/mdast": "catalog:",
"mdast-util-mdx": "catalog:",
"npm-run-all2": "catalog:",
"remark-frontmatter": "catalog:",
"remark-gfm": "catalog:",
"remark-mdx": "catalog:",
"remark-parse": "catalog:",
"remark-stringify": "catalog:",
"tsdown": "catalog:",
"typescript": "catalog:",
"unified": "catalog:",
"vitest": "catalog:",
"yaml": "catalog:"
}
}