-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.38 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.38 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
{
"name": "quickwit-js",
"version": "0.3.0",
"description": "Lightweight TypeScript client for Quickwit search engine",
"license": "MIT",
"author": "Oleksandr Zhyhalo",
"repository": {
"type": "git",
"url": "https://github.com/oleksandr-zhyhalo/quickwit-js.git"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/oleksandr-zhyhalo/quickwit-js",
"type": "module",
"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",
"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",
"build:cjs": "bun build ./src/index.ts --outfile ./dist/index.cjs --target node",
"build:types": "tsc -p tsconfig.build.json && cp dist/index.d.ts dist/index.d.cts",
"test": "bun test",
"prepublishOnly": "bun run build && bun test"
},
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5"
}
}