forked from get-convex/agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.68 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.68 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
{
"name": "@convex-dev/agent",
"description": "A agent component for Convex.",
"repository": "github:get-convex/agent",
"homepage": "https://github.com/get-convex/agent#readme",
"bugs": {
"email": "support@convex.dev",
"url": "https://github.com/get-convex/agent/issues"
},
"version": "0.1.15",
"license": "Apache-2.0",
"keywords": [
"convex",
"ai",
"agent",
"component"
],
"type": "module",
"scripts": {
"example": "cd example && npm run dev",
"dev": "run-p -r 'example' 'build:watch'",
"prepare": "npm run build",
"setup": "node setup.cjs && cd example && npm run dev:backend -- --once",
"dashboard": "cd example && npx convex dashboard",
"build:watch": "npx chokidar 'tsconfig*.json' 'src/**/*.ts' -c 'npm run build' --initial",
"build": "tsc --project ./tsconfig.build.json && npm run copy:dts && echo '{\\n \"type\": \"module\"\\n}' > dist/package.json",
"copy:dts": "rsync -a --include='*/' --include='*.d.ts' --exclude='*' src/ dist/ || cpy 'src/**/*.d.ts' 'dist/' --parents",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist tsconfig.build.tsbuildinfo",
"alpha": "npm run clean && npm run build && run-p test lint typecheck && npm version prerelease --preid alpha && npm publish --tag alpha && git push --tags",
"release": "npm run clean && npm run build && run-p test lint typecheck && npm version patch && npm publish && git push --tags && git push",
"test": "vitest run --typecheck --config ./src/vitest.config.ts",
"test:watch": "vitest --typecheck --config ./src/vitest.config.ts",
"test:debug": "vitest --inspect-brk --no-file-parallelism --config ./src/vitest.config.ts",
"test:coverage": "vitest run --coverage --coverage.reporter=text",
"lint": "eslint src",
"version": "pbcopy <<<$npm_package_version; vim CHANGELOG.md && git add CHANGELOG.md"
},
"files": [
"dist",
"src"
],
"exports": {
"./package.json": "./package.json",
".": {
"@convex-dev/component-source": "./src/client/index.ts",
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
},
"./validators": {
"@convex-dev/component-source": "./src/validators.ts",
"types": "./dist/validators.d.ts",
"default": "./dist/validators.js"
},
"./react": {
"@convex-dev/component-source": "./src/react/index.ts",
"types": "./dist/react/index.d.ts",
"default": "./dist/react/index.js"
},
"./convex.config": {
"@convex-dev/component-source": "./src/component/convex.config.ts",
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
}
},
"peerDependencies": {
"ai": "^4.3.16",
"convex": "^1.23.0",
"convex-helpers": "^0.1.99",
"react": "^18.3.1 || ^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"@edge-runtime/vm": "^5.0.0",
"@eslint/js": "^9.9.1",
"@types/node": "^18.19.86",
"@types/react": "^19.1.1",
"chokidar-cli": "^3.0.0",
"convex": "^1.24.8",
"convex-helpers": "0.1.99",
"convex-test": "^0.0.37",
"cpy-cli": "^5.0.0",
"eslint": "^9.24.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^15.15.0",
"npm-run-all2": "^8.0.4",
"pkg-pr-new": "^0.0.53",
"prettier": "3.2.5",
"typescript": "^5.8.3",
"typescript-eslint": "^8.29.1",
"vite": "^6.3.5",
"vitest": "^3.1.1",
"zod": "^3.25.56"
},
"main": "./dist/client/index.js",
"types": "./dist/client/index.d.ts",
"module": "./dist/client/index.js"
}