-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathpackage.json
More file actions
196 lines (196 loc) · 7.15 KB
/
package.json
File metadata and controls
196 lines (196 loc) · 7.15 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "hackerai",
"version": "0.1.0",
"private": true,
"packageManager": "[email protected]",
"scripts": {
"dev": "concurrently \"next dev --turbopack\" \"npx convex dev\"",
"dev:local": "concurrently \"next dev --turbopack\" \"npx convex dev --local\"",
"dev:next": "next dev --turbopack",
"dev:convex": "npx convex dev",
"build": "next build",
"start": "next start",
"lint": "eslint app lib types __mocks__ --ext .ts,.tsx,.js,.jsx",
"typecheck": "tsc --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"setup": "pnpm install && npx tsx scripts/setup.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --maxWorkers=2",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed",
"test:e2e:debug": "playwright test --debug",
"test:e2e:chromium": "playwright test --project=chromium",
"test:e2e:firefox": "playwright test --project=firefox",
"test:e2e:webkit": "playwright test --project=webkit",
"test:e2e:mobile": "playwright test --project='Mobile Chrome' --project='Mobile Safari'",
"test:e2e:report": "playwright show-report",
"test:e2e:setup": "npx tsx scripts/create-test-users.ts && npx tsx scripts/verify-test-users.ts",
"test:e2e:users:create": "npx tsx scripts/create-test-users.ts create",
"test:e2e:users:delete": "npx tsx scripts/create-test-users.ts delete",
"test:e2e:users:reset-passwords": "npx tsx scripts/create-test-users.ts reset-passwords",
"user:verify-email": "npx tsx scripts/verify-email.ts",
"rate-limit:reset": "npx tsx scripts/reset-rate-limit.ts",
"stripe:attach-failing-card": "npx tsx scripts/attach-failing-card.ts",
"prepare": "husky",
"s3:validate": "npx ts-node scripts/validate-s3-security.ts",
"e2b:build:dev": "npx tsx e2b/build.dev.ts",
"e2b:build:prod": "npx tsx e2b/build.prod.ts",
"local-sandbox": "npx tsx packages/local/src/index.ts",
"local-sandbox:build": "cd packages/local && pnpm build",
"desktop:dev": "cd packages/desktop && pnpm dev",
"desktop:build": "cd packages/desktop && pnpm build",
"docker:build": "docker buildx build --load -t hackerai/sandbox:latest -f docker/Dockerfile docker/",
"docker:build:push": "docker buildx build --platform linux/amd64,linux/arm64 --push -t hackerai/sandbox:latest -f docker/Dockerfile docker/",
"sandbox:deploy:dev": "pnpm docker:build:push && pnpm e2b:build:dev",
"sandbox:deploy:prod": "pnpm docker:build:push && pnpm e2b:build:prod",
"sandbox:deploy": "pnpm docker:build:push && pnpm e2b:build:dev && pnpm e2b:build:prod"
},
"dependencies": {
"@ai-sdk/openai": "^3.0.47",
"@ai-sdk/react": "^3.0.137",
"@aws-sdk/client-s3": "^3.1014.0",
"@aws-sdk/s3-request-presigner": "^3.1014.0",
"@axiomhq/js": "^1.5.0",
"@axiomhq/logging": "^0.2.0",
"@axiomhq/nextjs": "^0.2.0",
"@axiomhq/react": "^0.2.0",
"@convex-dev/aggregate": "^0.2.1",
"@convex-dev/workos": "^0.0.1",
"@e2b/code-interpreter": "2.3.3",
"@langchain/community": "^1.1.24",
"@monaco-editor/react": "^4.7.0",
"@openrouter/ai-sdk-provider": "^2.3.3",
"@posthog/ai": "^7.12.2",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-avatar": "^1.1.11",
"@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-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-radio-group": "^1.3.8",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tooltip": "^1.2.8",
"@radix-ui/react-use-controllable-state": "^1.2.2",
"@upstash/ratelimit": "^2.0.8",
"@upstash/redis": "^1.37.0",
"@vercel/functions": "^3.4.3",
"@workos-inc/authkit-nextjs": "^2.17.0",
"@workos-inc/node": "^8.9.0",
"ai": "^6.0.135",
"ai-elements": "^1.9.0",
"centrifuge": "^5.5.3",
"chalk": "^5.6.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"convex": "^1.34.0",
"date-fns": "^4.1.0",
"e2b": "^2.14.1",
"gpt-tokenizer": "^3.4.0",
"iron-session": "^8.0.4",
"isbinaryfile": "^6.0.0",
"jose": "^6.2.2",
"jszip": "^3.10.1",
"langchain": "^1.2.36",
"lucide-react": "^1.0.1",
"mammoth": "^1.12.0",
"marked": "^17.0.5",
"motion": "^12.38.0",
"next": "16.2.1",
"next-themes": "^0.4.6",
"openai": "^6.32.0",
"pdfjs-serverless": "^1.1.0",
"posthog-js": "^1.363.2",
"posthog-node": "^5.28.5",
"radix-ui": "^1.4.3",
"react": "^19.2.4",
"react-day-picker": "^9.14.0",
"react-dom": "19.2.4",
"react-hotkeys-hook": "^5.2.4",
"react-shiki": "^0.9.2",
"react-textarea-autosize": "^8.5.9",
"redis": "^5.11.0",
"resumable-stream": "^2.2.12",
"shiki": "^4.0.2",
"sonner": "^2.0.7",
"streamdown": "^2.5.0",
"stripe": "^20.4.1",
"tailwind-merge": "^3.5.0",
"use-stick-to-bottom": "^1.1.3",
"uuid": "^13.0.0",
"word-extractor": "^1.0.4",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@jest/globals": "^30.3.0",
"@playwright/test": "^1.58.2",
"@tailwindcss/postcss": "^4",
"@tauri-apps/api": "^2.10.1",
"@tauri-apps/plugin-opener": "^2.5.3",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/jszip": "^3.4.1",
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/word-extractor": "^1.0.6",
"concurrently": "^9.2.1",
"dotenv": "^17.3.1",
"eslint": "^9",
"eslint-config-next": "16.2.1",
"husky": "^9.1.7",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"lint-staged": "^16.4.0",
"playwright": "^1.58.2",
"prettier": "^3.8.1",
"tailwindcss": "^4",
"ts-node": "^10.9.2",
"tw-animate-css": "^1.4.0",
"typescript": "^5"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{json,css,md}": "prettier --write"
},
"pnpm": {
"overrides": {
"axios": "1.13.5",
"glob@>=10.0.0 <10.5.0": "10.5.0",
"glob@>=11.0.0 <11.1.0": "11.1.0",
"js-yaml": "4.1.1",
"mdast-util-to-hast": "13.2.1",
"vite": "7.1.11",
"tar": "7.5.13",
"@isaacs/brace-expansion": "5.0.1",
"diff@>=4.0.0 <4.0.4": "4.0.4",
"diff@>=6.0.0 <8.0.3": "8.0.3",
"ajv@>=6.0.0 <6.14.0": "6.14.0",
"minimatch@>=3.0.0 <3.1.4": "3.1.4",
"minimatch@>=9.0.0 <9.0.7": "9.0.7",
"minimatch@>=10.0.0 <10.2.3": "10.2.3",
"systeminformation@<5.31.0": "5.31.0",
"cookie@<0.7.0": "0.7.0",
"underscore@<=1.13.7": "1.13.8",
"rollup@>=4.0.0 <4.59.0": "4.59.0",
"fast-xml-parser@>=5.0.0 <5.5.9": "5.5.9",
"dompurify@<3.3.3": "3.3.3",
"yaml@>=1.0.0 <1.10.3": "1.10.3",
"yaml@>=2.0.0 <2.8.3": "2.8.3"
}
}
}