-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.1 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 3.1 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
{
"name": "@jhb.software/payload-chat-agent",
"version": "0.1.0-beta.6",
"description": "A Payload CMS plugin that adds an AI chat agent for reading, creating, and updating content",
"bugs": "https://github.com/jhb-software/payload-plugins/issues",
"repository": "https://github.com/jhb-software/payload-plugins",
"keywords": [
"payload",
"plugin",
"chat",
"agent",
"ai"
],
"author": "JHB Software",
"license": "MIT",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"build": "pnpm copyfiles && pnpm build:types && pnpm build:swc",
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
"build:types": "tsc --outDir dist --rootDir ./src",
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
"clean": "rimraf --glob {dist,*.tsbuildinfo}",
"dev": "tsc -w",
"format": "prettier --write src \"*.{json,md,js,mjs,cjs}\"",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"prepublishOnly": "pnpm clean && pnpm build",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@ai-sdk/react": "^3.0.178",
"ai": "^6.0.176",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"zod": "^4.4.3"
},
"peerDependencies": {
"@payloadcms/next": "^3.84.1",
"@payloadcms/ui": "^3.84.1",
"next": "^15.0.0 || ^16.0.0",
"payload": "^3.84.1",
"react": "19.2.6",
"react-dom": "19.2.6"
},
"devDependencies": {
"@payloadcms/eslint-config": "^3.28.0",
"@swc/cli": "^0.8.1",
"@swc/core": "^1.15.33",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"copyfiles": "^2.4.1",
"eslint": "^9.0.0",
"jsdom": "^29.1.1",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"typescript": "^6.0.3",
"vitest": "^4.1.5"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public",
"tag": "beta",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./client": {
"import": "./dist/exports/client.js",
"types": "./dist/exports/client.d.ts",
"default": "./dist/exports/client.js"
},
"./server": {
"import": "./dist/exports/server.js",
"types": "./dist/exports/server.d.ts",
"default": "./dist/exports/server.js"
}
}
},
"exports": {
".": {
"import": "./src/index.ts",
"types": "./src/index.ts",
"default": "./src/index.ts"
},
"./client": {
"import": "./src/exports/client.ts",
"types": "./src/exports/client.ts",
"default": "./src/exports/client.ts"
},
"./server": {
"import": "./src/exports/server.ts",
"types": "./src/exports/server.ts",
"default": "./src/exports/server.ts"
}
},
"engines": {
"node": "^18.20.2 || >=20.9.0"
},
"pnpm": {
"overrides": {
"next": "16.2.6"
}
}
}