-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
93 lines (93 loc) · 4.23 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"author": "Charles-Henri ARNOULD <charnould@pierre-ia.org>",
"license": "AGPL-3.0-only",
"type": "module",
"name": "pierre",
"module": "app.ts",
"scripts": {
"――――――― BUILD COMMANDS ―――――――": "―――――――",
"build:cb": "bun run config/build.ts",
"transpile": "bun build --entrypoints assets/pierre-ia.org/scripts/*.ts --outdir assets/pierre-ia.org/dist/js --minify --target browser --watch",
"format": "bunx prettier '!**/*.js' '!assets/pierre-ia.org/dist' --write . --plugin=prettier-plugin-tailwindcss",
"lint": "bunx @biomejs/biome check --write --unsafe . --config-path=config/biome.jsonc",
"css": "bunx @tailwindcss/cli@next -i assets/pierre-ia.org/tailwind/style.css -o assets/pierre-ia.org/dist/css/style.css --minify --watch",
"generate": "NODE_ENV=production bun run ./utils/knowledge/_run.ts --community ",
"――――――― LLM EVAL + TESTS COMMANDS ―――――――": "―――――――",
"eval:reranker": "NODE_ENV=production bun test eval-reranker --watch --timeout 30000",
"eval:output": "NODE_ENV=production bun test generate-output --watch --timeout 30000",
"eval:speed": "NODE_ENV=production bun test eval-speed --watch --timeout 30000",
"eval:query": "NODE_ENV=production bun test eval-augment --watch --timeout 30000",
"test:unit": "bun --env-file=.env.production run config/setup.ts && bun --env-file=.env.production test unit",
"test:e2e": "bun --env-file=.env.production run config/setup.ts && NODE_ENV=production bun --env-file=.env.production test e2e --timeout 60000",
"――――――― VERSION + START COMMANDS ―――――――": "―――――――",
"dev": "bun --env-file=.env.production run config/setup.ts && DEBUG=true bun --env-file=.env.production --watch run app.ts",
"start": "bun --env-file=.env.production run config/setup.ts && bun run app.ts",
"pierre:version": "bun run utils/update-pierre.ts",
"pierre:config": "bun test check-config",
"――――――― STAGING DEPLOYMENT COMMANDS ―――――――": "―――――――",
"staging:logs": "bun --env-file=.env.staging run kamal app logs ",
"staging:deploy": "bun --env-file=.env.staging run kamal deploy",
"staging:console": "bun --env-file=.env.staging run kamal app exec -i bash",
"――――――― PRODUCTION DEPLOYMENT COMMANDS ―――――――": "―――――――",
"prod:logs": "bun --env-file=.env.production run kamal app logs",
"prod:setup": "bun --env-file=.env.production run kamal setup",
"prod:deploy": "bun --env-file=.env.production run kamal deploy",
"prod:console": "bun --env-file=.env.production run kamal app exec -i bash"
},
"dependencies": {
"@ai-sdk/anthropic": "^1.1.15",
"@ai-sdk/cerebras": "^0.1.13",
"@ai-sdk/cohere": "^1.1.13",
"@ai-sdk/google": "^1.1.20",
"@ai-sdk/groq": "^1.1.12",
"@ai-sdk/mistral": "^1.1.15",
"@ai-sdk/openai": "^1.2.1",
"@ai-sdk/togetherai": "^0.1.14",
"@date-fns/tz": "^1.2.0",
"@observablehq/plot": "^0.6.17",
"ai": "^4.1.54",
"arquero": "^8.0.1",
"cron": "^4.1.0",
"d3": "^7.9.0",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"dedent": "^1.5.3",
"dompurify": "^3.2.4",
"hono": "^4.7.4",
"jsdom": "^26.0.0",
"lodash": "^4.17.21",
"mammoth": "^1.9.0",
"marked": "^15.0.7",
"natural": "^8.0.1",
"prettier": "^3.5.3",
"remove-markdown": "^0.6.0",
"sqlite-vec": "^0.1.6",
"sqlite-vec-darwin-arm64": "^0.1.6",
"sqlite-vec-linux-x64": "^0.1.6",
"stopwords-fr": "^0.3.0",
"talisman": "^1.1.4",
"tiktoken": "^1.0.20",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
"zod": "^3.24.2",
"turndown": "^7.2.0"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.16",
"@biomejs/biome": "^1.9.4",
"@types/bun": "^1.2.4",
"@types/lodash": "^4.17.16",
"@types/turndown": "^5.0.5",
"markdown-toc": "^1.2.0",
"puppeteer": "^24.4.0",
"prettier-plugin-tailwindcss": "^0.6.11",
"@tailwindcss/cli": "^4.0.12",
"tailwindcss": "^4.0.12",
"typescript": "^5.8.2"
},
"prettier": {
"singleQuote": true,
"semi": false,
"trailingComma": "none",
"printWidth": 100
}
}