-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.81 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 3.81 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "schema-stream",
"version": "4.2.0",
"description": "Progressively parse streamed JSON into typed, schema-shaped snapshots",
"author": "Dimitri Kennedy <dimitri@sick.email> (https://hack.dance)",
"license": "MIT",
"homepage": "https://schema.stream",
"repository": {
"type": "git",
"url": "git+https://github.com/hack-dance/schema-stream.git"
},
"bugs": {
"url": "https://github.com/hack-dance/schema-stream/issues"
},
"keywords": [
"ai",
"json",
"llm",
"streaming",
"structured-output",
"web-streams",
"zod"
],
"publishConfig": {
"access": "public"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"files": [
"dist/**",
"docs/completion-events.md",
"docs/integration-testing.md",
"docs/snapshot-policies.md",
"docs/transports.md",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"sideEffects": false,
"engines": {
"bun": ">=1.3.14",
"node": ">=22"
},
"packageManager": "bun@1.3.14",
"workspaces": [
".",
"site"
],
"scripts": {
"benchmark": "bun tests/snapshot-policy.benchmark.mts",
"benchmark:snapshots": "bun tests/snapshot-policy.benchmark.mts",
"build": "tsup && tsc --project tsconfig.build.json",
"check": "bun run lint && bun run type-check && bun run release:check && bun run test && bun run test:packed && bun run docs:check && bun run demo:check && bun run docs:build",
"changeset": "changeset",
"clean": "rm -rf coverage dist node_modules",
"dev": "tsup --watch",
"demo:check": "cd media/schema-stream-demo && bun x --yes hyperframes@0.7.54 check --strict",
"demo:render": "bash scripts/media/render-schema-stream-demo.sh",
"docs:build": "bun run docs:generate && bun run docs:prepare && bun run build && bun run --cwd site build",
"docs:check": "bun scripts/docs/generate.ts --check",
"docs:dev": "bun run docs:generate && bun run docs:prepare && bun run build && bun scripts/docs/dev.ts",
"docs:generate": "bun scripts/docs/generate.ts",
"docs:prepare": "bun scripts/docs/prepare.ts",
"docs:start": "bun run --cwd site start",
"docs:watch": "bun scripts/docs/watch.ts",
"example:mastra": "bun examples/mastra.ts",
"example:progressive": "bun examples/progressive-json.ts",
"example:sdk": "bun examples/sdk-mocks.ts",
"example:websocket": "bun examples/websocket-ui/server.ts",
"examples": "bun run example:progressive && bun run example:sdk && bun run example:mastra",
"format": "ultracite fix",
"format:check": "ultracite check",
"lint": "ultracite check",
"lint:fix": "ultracite fix",
"prepack": "bun run build",
"release": "bun run build && changeset publish",
"release:check": "changeset status",
"test": "bun test --timeout=25000",
"test:coverage": "bun test --coverage --timeout=25000",
"test:live": "bun test tests/live-model.e2e.test.ts --timeout=300000",
"test:packed": "bash tests/packed-consumer/verify.sh",
"type-check": "tsc --noEmit && tsc --project scripts/docs/tsconfig.json --noEmit",
"version": "changeset version"
},
"devDependencies": {
"@biomejs/biome": "2.5.2",
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.0",
"@mastra/core": "1.50.1",
"@openai/agents": "0.13.1",
"@types/bun": "^1.3.14",
"ai": "7.0.19",
"next": "16.2.10",
"tsup": "^8.5.1",
"typescript": "7.0.2",
"ultracite": "7.9.3",
"zod": "^4.4.3",
"zod3": "npm:zod@^3.25.0"
},
"peerDependencies": {
"zod": "^3.25.0 || ^4.0.0"
},
"overrides": {
"esbuild": "^0.28.1"
}
}