-
Notifications
You must be signed in to change notification settings - Fork 117
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.61 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 1.61 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
{
"name": "@chatjs/thread",
"version": "0.0.0",
"description": "Headless threaded chat engine for AI SDK UI messages",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/franciscomoretti/chat-js.git",
"directory": "packages/thread"
},
"homepage": "https://github.com/franciscomoretti/chat-js/tree/main/packages/thread",
"bugs": {
"url": "https://github.com/franciscomoretti/chat-js/issues"
},
"keywords": [
"chatjs",
"ai",
"ai-sdk",
"thread",
"chat"
],
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"bun": "./src/index.ts",
"development": "./src/index.ts",
"default": "./dist/index.js"
}
},
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
"README.md",
"ARCHITECTURE.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "bun -e \"import { rmSync } from 'node:fs'; rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.build.json && bun build ./src/index.ts --outfile ./dist/index.js --target=browser --format=esm --packages external",
"format": "bunx @biomejs/biome@2.4.10 check --write src *.md package.json tsconfig.json tsconfig.build.json biome.jsonc",
"lint": "bunx @biomejs/biome@2.4.10 check src ARCHITECTURE.md package.json tsconfig.json tsconfig.build.json biome.jsonc",
"prepublishOnly": "bun run build",
"test": "bun test --pass-with-no-tests",
"test:unit": "bun test --pass-with-no-tests",
"test:types": "bun run build"
},
"peerDependencies": {
"ai": "^6.0.0"
},
"devDependencies": {
"@types/bun": "^1.3.12",
"ai": "^6.0.150",
"typescript": "6.0.2"
}
}