-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.27 KB
/
package.json
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
{
"name": "@llmstudios/ctx-store",
"version": "1.0.72",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "bun run --watch src/index.ts",
"sync-openapi": "bun scripts/sync-openapi.ts",
"build": "bun build --target node --outfile ./dist/server.js ./src/index.ts",
"build:executable": "bun build --compile --target bun --outfile ./dist/server ./src/index.ts",
"build:types": "tsc ./client/client.ts --declaration --emitDeclarationOnly --outDir ./dist --noEmitOnError --skipLibCheck",
"build:client": "bun build ./client/client.ts --outdir ./dist --target node --format esm",
"link": "bun run sync-openapi && bun build:types && bun build:client && bun run build && bun link",
"prepublish": "bun run sync-openapi && bun build:types && bun build:client && bun run build && bun run build:start",
"start": "bun ./dist/server.js",
"start:services": "bun ./scripts/start.ts",
"----DATABASE----": "",
"db:migrate": "prisma migrate dev",
"db:studio": "prisma studio",
"db:deploy": "prisma migrate deploy",
"db:generate": "prisma generate",
"postinstall": "prisma generate",
"----DOCKER----": "",
"docker:build": "docker build -t llmstudios/ctx-store:latest .",
"docker:push": "docker push llmstudios/ctx-store:latest",
"docker:publish": "npm run docker:build && npm run docker:push",
"docker:run": "docker run -p 3003:3003 llmstudios/ctx-store:latest",
"build:start": "bun build --target node --outfile ./dist/scripts/start.js ./scripts/start.ts"
},
"bin": {
"ctx-store": "./dist/scripts/start.js"
},
"files": [
"dist/server.js",
"dist/client.js",
"dist/client.d.ts",
"dist/generated",
"dist/scripts/start.js",
"docker-compose.yaml"
],
"dependencies": {
"@elysiajs/eden": "^1.1.3",
"@elysiajs/swagger": "^1.1.6",
"@prisma/client": "6.0.1",
"ai": "^4.0.13",
"elysia": "^1.1.26",
"prisma": "6.0.1"
},
"devDependencies": {
"@hey-api/client-fetch": "^0.5.1",
"@hey-api/openapi-ts": "^0.59.0",
"@types/bun": "^1.1.14",
"bun-types": "^1.1.38"
},
"exports": {
".": {
"import": "./dist/client.js",
"types": "./dist/client.d.ts"
}
},
"main": "./dist/client.js",
"publishConfig": {
"access": "public"
},
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/LLM-Studios/ctx-store"
}
}