Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 7.82 KB
/
Copy pathpackage.json
File metadata and controls
152 lines (152 loc) · 7.82 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "builder-ainative-studio",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "NEXT_PUBLIC_BUILD_SHA=\"${NEXT_PUBLIC_BUILD_SHA:-${RAILWAY_GIT_COMMIT_SHA:-$(git rev-parse HEAD 2>/dev/null || echo unknown)}}\" next build --turbopack",
"start": "next start -p ${PORT:-3000}",
"deploy": "railway variables --service builder-ainative-studio --set \"NEXT_PUBLIC_BUILD_SHA=$(git rev-parse HEAD)\" --skip-deploys && railway up --service builder-ainative-studio --ci --detach",
"db:generate": "drizzle-kit generate",
"db:migrate": "npx tsx lib/db/migrate.ts",
"db:studio": "drizzle-kit studio",
"db:push": "drizzle-kit push",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:sprint3": "vitest run __tests__/lib/mcp __tests__/services/design-tokens __tests__/validators __tests__/api/design-tokens-upload __tests__/lib/dark-mode-tokens",
"test:sprint4": "vitest run __tests__/api/few-shot-examples __tests__/services/example-selector __tests__/services/component-docs-injector __tests__/lib/prompt-constraints __tests__/services/intent-detector __tests__/services/token-counter __tests__/services/translation",
"test:sprint3-4": "vitest run __tests__",
"test:sprint3-coverage": "vitest run --coverage __tests__/lib/mcp __tests__/services/design-tokens __tests__/validators __tests__/api/design-tokens-upload __tests__/lib/dark-mode-tokens",
"test:sprint4-coverage": "vitest run --coverage __tests__/api/few-shot-examples __tests__/services/example-selector __tests__/services/component-docs-injector __tests__/lib/prompt-constraints __tests__/services/intent-detector __tests__/services/token-counter __tests__/services/translation",
"test:integration-sprint3-4": "vitest run __tests__/integration/sprint-3-4-flow.test.ts",
"test:sprint5": "vitest run __tests__/services/template-matcher __tests__/services/template-customizer __tests__/api/templates.test.ts __tests__/api/templates-analytics __tests__/api/template-submission __tests__/api/admin-template-review __tests__/integration/template-flow",
"test:sprint6": "vitest run __tests__/components/ui __tests__/lib/component-verifier",
"test:sprint5-6": "vitest run __tests__/services/template-matcher __tests__/services/template-customizer __tests__/api/templates.test.ts __tests__/api/templates-analytics __tests__/api/template-submission __tests__/api/admin-template-review __tests__/integration/template-flow __tests__/components/ui __tests__/lib/component-verifier __tests__/integration/sprint-5-6-flow",
"test:sprint5-coverage": "vitest run --coverage __tests__/services/template-matcher __tests__/services/template-customizer __tests__/api/templates.test.ts __tests__/api/templates-analytics __tests__/api/template-submission __tests__/api/admin-template-review __tests__/integration/template-flow",
"test:sprint6-coverage": "vitest run --coverage __tests__/components/ui __tests__/lib/component-verifier",
"test:sprint5-6-coverage": "vitest run --coverage __tests__/services/template-matcher __tests__/services/template-customizer __tests__/api/templates.test.ts __tests__/api/templates-analytics __tests__/api/template-submission __tests__/api/admin-template-review __tests__/integration/template-flow __tests__/components/ui __tests__/lib/component-verifier __tests__/integration/sprint-5-6-flow",
"test:integration-sprint5-6": "vitest run __tests__/integration/sprint-5-6-flow.test.ts",
"test:sprint7": "vitest run __tests__/lib/mcp/zerodb-client.test.ts __tests__/services/crud-intent-detector.test.ts __tests__/services/schema.test.ts __tests__/services/schema-prompt-enhancer.test.ts __tests__/api/zerodb",
"test:sprint7-coverage": "vitest run --coverage __tests__/lib/mcp/zerodb-client.test.ts __tests__/services/crud-intent-detector.test.ts __tests__/services/schema.test.ts __tests__/services/schema-prompt-enhancer.test.ts __tests__/api/zerodb",
"validate:env": "npx tsx scripts/validate-env.ts",
"mentions": "npx tsx scripts/llm-mention-tracker.ts",
"deploy:preview": "vercel",
"deploy:production": "./scripts/deploy-production.sh"
},
"dependencies": {
"@ai-sdk/openai": "^2.0.0",
"@ai-sdk/react": "^2.0.22",
"@ainative/ai-kit": "0.2.0",
"@ainative/ai-kit-core": "0.2.0",
"@ainative/browser-mcp": "1.1.3",
"@ainative/cody-cli": "^0.12.82",
"@anthropic-ai/claude-code": "^2.1.191",
"@anthropic-ai/sdk": "^0.65.0",
"@babel/core": "^7.29.0",
"@babel/parser": "^7.28.4",
"@babel/preset-react": "^7.29.7",
"@codesandbox/sandpack-react": "^2.20.0",
"@codesandbox/sandpack-themes": "^2.0.21",
"@modelcontextprotocol/sdk": "^1.30.0",
"@monaco-editor/react": "^4.7.0",
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-avatar": "^1.1.10",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-hover-card": "^1.1.15",
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-progress": "^1.1.7",
"@radix-ui/react-radio-group": "^1.3.8",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-toast": "^1.2.15",
"@radix-ui/react-tooltip": "^1.2.8",
"@radix-ui/react-use-controllable-state": "^1.2.2",
"@sentry/nextjs": "^9.47.1",
"@types/adm-zip": "^0.5.7",
"@types/archiver": "^6.0.3",
"@types/ioredis": "^5.0.0",
"@types/ws": "^8.18.1",
"@upstash/ratelimit": "^2.0.6",
"@upstash/redis": "^1.35.1",
"@vercel/postgres": "^0.10.0",
"@vitest/coverage-v8": "^3.2.4",
"adm-zip": "^0.5.16",
"ai": "^5.0.22",
"ainative-zerodb-mcp-server": "2.3.2",
"archiver": "^7.0.1",
"bcrypt-ts": "^7.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"drizzle-kit": "^0.31.4",
"drizzle-orm": "^0.44.5",
"e2b": "^2.52.0",
"embla-carousel-react": "^8.6.0",
"form-data": "^4.0.4",
"ioredis": "^5.8.0",
"jose": "^6.1.0",
"jszip": "^3.10.1",
"lucide-react": "^0.540.0",
"nanoid": "^5.1.5",
"next": "15.5.14",
"next-auth": "5.0.0-beta.25",
"openai": "^5.23.1",
"pino": "^9.13.0",
"pino-pretty": "^13.1.1",
"postgres": "^3.4.7",
"react": "19.1.0",
"react-colorful": "^5.6.1",
"react-dom": "19.1.0",
"react-markdown": "^10.1.0",
"react-syntax-highlighter": "^15.6.6",
"recharts": "^3.2.1",
"remark-gfm": "^4.0.1",
"shiki": "^3.12.2",
"streamdown": "^1.0.12",
"swr": "^2.3.6",
"tailwind-merge": "^2.5.5",
"tsx": "^4.19.2",
"unsplash-js": "^7.0.20",
"use-stick-to-bottom": "^1.1.1",
"vitest": "^3.2.4",
"ws": "^8.18.3",
"zerodb-sequential-thinking-mcp": "0.1.1",
"zod": "^4.1.1"
},
"devDependencies": {
"@playwright/test": "^1.55.1",
"@tailwindcss/postcss": "^4",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/supertest": "^6.0.3",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"supertest": "^7.1.4",
"tailwindcss": "^4",
"ts-jest": "^29.4.4",
"tw-animate-css": "^1.3.7",
"typescript": "^5"
},
"packageManager": "pnpm@10.15.0",
"pnpm": {
"overrides": {
"@ainative/ai-kit>@ainative/ai-kit-core": "0.2.0",
"@codesandbox/sandpack-client": "npm:@ainative/sandpack-client@2.19.8"
}
}
}