-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.75 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 1.75 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
{
"name": "prompt-schema",
"version": "1.0.1",
"description": "Automatically convert schemas like Zod to prompts for AI SDK generate, OpenAI function calling, and structured LLM outputs",
"author": "Joe Seifi",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/joeshub/prompt-schema.git"
},
"homepage": "https://github.com/joeshub/prompt-schema#readme",
"bugs": {
"url": "https://github.com/joeshub/prompt-schema/issues"
},
"keywords": [
"zod",
"llm",
"prompts",
"ai",
"function-calling",
"validation",
"schema",
"openai",
"anthropic",
"structured-output",
"ai-sdk"
],
"packageManager": "pnpm@10.6.4",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "vitest",
"test:run": "vitest run",
"lint": "eslint src tests examples",
"lint:fix": "eslint src tests examples --fix",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"example:v3": "tsx examples/run-v3.ts",
"example:v4": "tsx examples/run-v4.ts",
"prepublishOnly": "pnpm build && pnpm test:run && pnpm lint"
},
"peerDependencies": {
"zod": "^3.25.0"
},
"dependencies": {
"zod-to-json-schema": "^3.24.0"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^25.0.6",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.7.4",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"typescript-eslint": "^8.52.0",
"vitest": "^3.0.0",
"zod": "^3.25.0"
}
}