Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.79 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.79 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
{
"name": "@rootprint-io/quickwit-js",
"version": "0.5.0",
"description": "TypeScript client for Quickwit: search, ingest, index management, and tracing APIs",
"license": "MIT",
"author": "Oleksandr Zhyhalo",
"repository": {
"type": "git",
"url": "git+https://github.com/rootprint/quickwit-js.git"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/rootprint/quickwit-js",
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=18"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"keywords": [
"quickwit",
"search",
"logs",
"tracing",
"jaeger",
"opentelemetry",
"otlp",
"sdk",
"typescript",
"client"
],
"scripts": {
"build": "bun run build:esm && bun run build:cjs && bun run build:types",
"build:esm": "bun build ./src/index.ts --outdir ./dist --target=node --format=esm",
"build:cjs": "bun build ./src/index.ts --outfile ./dist/index.cjs --target=node --format=cjs",
"build:types": "dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts && cp dist/index.d.ts dist/index.d.cts",
"typecheck": "tsc --noEmit -p tsconfig.json",
"test": "bun test tests/unit.test.ts",
"test:integration": "bun test --timeout 30000 tests/integration.test.ts",
"prepublishOnly": "bun run typecheck && bun run build && bun test tests/unit.test.ts"
},
"devDependencies": {
"@types/bun": "^1.3.14",
"dts-bundle-generator": "^9.5.1",
"typescript": "^5.9.3"
}
}