-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 3.11 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 3.11 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
{
"name": "lead-engine",
"version": "0.1.0",
"private": true,
"license": "PolyForm-Noncommercial-1.0.0",
"type": "module",
"workspaces": [
"apps/admin-ui",
"apps/api",
"apps/landing",
"apps/vertical-concierge",
"apps/vertical-exchange",
"apps/vertical-modeling",
"apps/vertical-real-estate",
"apps/vertical-scooter",
"apps/vertical-visa",
"apps/vertical-recruitment",
"apps/vertical-saas",
"apps/vertical-video",
"apps/widget",
"apps/worker",
"packages/*"
],
"scripts": {
"dev": "bun run --cwd apps/api dev",
"start": "bun run --cwd apps/api start",
"dev:worker": "bun run --cwd apps/worker dev",
"dev:ui": "bun run --cwd apps/admin-ui dev",
"dev:landing": "bun run --cwd apps/landing dev",
"build:ui": "bun run --cwd apps/admin-ui build",
"build:landing": "bun run --cwd apps/landing build",
"build:widget": "bun run --cwd apps/widget build",
"typecheck": "bun run --filter '*' typecheck",
"test": "bun run --filter '*' test",
"check": "bun run --filter '*' check",
"quality:tool-regressions": "bun run apps/api/scripts/run-tool-regressions.ts",
"build:packages": "bun run --cwd packages/observability build && bun run --cwd packages/channel-core build && bun run --cwd packages/llm-router build && bun run --cwd packages/verticals build && bun run --cwd packages/storage build && bun run --cwd packages/channel-telegram build && bun run --cwd packages/channel-web build && bun run --cwd packages/channel-whatsapp build && bun run --cwd packages/channel-facebook build && bun run --cwd packages/channel-vk build && bun run --cwd packages/channel-max build && bun run --cwd packages/kb build && bun run --cwd packages/conversation-engine build && bun run --cwd packages/sales build",
"db:up": "docker compose up -d && docker compose exec -T postgres bash -c 'until pg_isready -U lead -d lead_engine >/dev/null 2>&1; do sleep 1; done' && echo 'postgres ready @ localhost:5434'",
"db:down": "docker compose down",
"db:reset": "docker compose down -v && docker compose up -d && docker compose exec -T postgres bash -c 'until pg_isready -U lead -d lead_engine >/dev/null 2>&1; do sleep 1; done' && DATABASE_URL=postgres://lead:lead@localhost:5434/lead_engine bun run apps/api/scripts/reset-and-migrate.ts",
"db:psql": "docker compose exec postgres psql -U lead lead_engine",
"lint:cycles": "madge --circular --extensions ts packages apps",
"lint:dup": "jscpd packages apps --min-lines 30 --min-tokens 70 --ignore '**/*.test.ts,**/*.spec.ts,**/dist/**' --threshold 6 --reporters consoleFull",
"lint:unused": "knip",
"lint:format": "biome ci --changed --since=origin/main"
},
"devDependencies": {
"@biomejs/biome": "^2.5.0",
"@codecov/vite-plugin": "^2.0.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^7.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.8",
"@semantic-release/npm": "^13.1.5",
"jscpd": "^4.0.5",
"knip": "^5.64.4",
"madge": "^8.0.0",
"semantic-release": "^25.0.5",
"semantic-release-monorepo": "^8.0.2"
}
}