-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.6 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 1.6 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
{
"name": "@truenine/logger",
"type": "module",
"version": "2026.10402.110",
"private": true,
"description": "Rust-powered AI-friendly Markdown logger for Node.js via N-API",
"license": "AGPL-3.0-only",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs"
}
},
"module": "dist/index.mjs",
"types": "dist/index.d.mts",
"files": [
"dist"
],
"napi": {
"binaryName": "napi-logger",
"targets": [
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"aarch64-apple-darwin",
"x86_64-apple-darwin"
]
},
"scripts": {
"build": "run-s build:ts build:native",
"build:all": "run-s build:ts build:native",
"build:native": "napi build --platform --release --output-dir dist -- --features napi",
"build:native:debug": "napi build --platform --output-dir dist -- --features napi",
"build:ts": "tsx ../../scripts/build-quiet.ts",
"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:",
"npm-run-all2": "catalog:",
"tsdown": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
}
}