Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

package.json

120 lines4.1 KB

1{
2 "name": "modelschemas",
3 "private": true,
4 "type": "module",
5 "imports": {
6 "#/*": "./src/*"
7 },
8 "scripts": {
9 "dev": "bun run db:migrate && vite dev --port 3100",
10 "generate-routes": "tsr generate",
11 "build": "vite build",
12 "preview": "vite preview",
13 "test": "vitest run --passWithNoTests",
14 "lint": "eslint",
15 "typecheck": "tsc --noEmit && tsc --noEmit -p examples/schema-studio && tsc --noEmit -p examples/image-dimensions && tsc --noEmit -p examples/video-composer",
16 "prepare": "lefthook install",
17 "format": "prettier --write . && eslint --fix",
18 "check": "prettier --check .",
19 "deploy": "bun run build && bun run deploy:ci",
20 "deploy:ci": "wrangler d1 migrations apply modelschemas --remote && wrangler deploy",
21 "seed": "bun scripts/seed.ts",
22 "secrets:check": "bun scripts/push-secrets.ts",
23 "secrets:push": "bun scripts/push-secrets.ts --push",
24 "secrets:pull": "bun scripts/pull-secrets.ts --write",
25 "secrets:build": "bun scripts/build-with-secrets.ts",
26 "db:generate": "drizzle-kit generate",
27 "db:migrate": "wrangler d1 migrations apply DB --local",
28 "db:migrate:remote": "wrangler d1 migrations apply DB --remote",
29 "db:push": "drizzle-kit push",
30 "db:studio": "drizzle-kit studio",
31 "openapi:emit": "bun scripts/emit-openapi.ts",
32 "generate:client": "bun run openapi:emit && cd packages/client && bunx openapi-ts",
33 "check:client": "bun run generate:client && git diff --exit-code openapi.json packages/client",
34 "types": "wrangler types --include-runtime=false",
35 "npm:pack": "bun scripts/npm-pack.ts",
36 "gap:report": "bun scripts/gap-report.ts",
37 "compare:models-dev": "bun scripts/compare-models-dev.ts"
38 },
39 "dependencies": {
40 "@better-auth/agent-auth": "^0.5.1",
41 "@better-auth/api-key": "^1.6.16",
42 "@cfworker/json-schema": "^4.1.1",
43 "@cloudflare/vite-plugin": "^1.26.0",
44 "@modelschemas/rate-card": "workspace:*",
45 "@posthog/react": "^1.11.3",
46 "@tailwindcss/vite": "^4.1.18",
47 "@tanstack/ai": "latest",
48 "@tanstack/ai-anthropic": "latest",
49 "@tanstack/ai-client": "latest",
50 "@tanstack/ai-gemini": "latest",
51 "@tanstack/ai-ollama": "latest",
52 "@tanstack/ai-openai": "latest",
53 "@tanstack/ai-react": "latest",
54 "@tanstack/react-devtools": "latest",
55 "@tanstack/react-router": "latest",
56 "@tanstack/react-router-devtools": "latest",
57 "@tanstack/react-router-ssr-query": "latest",
58 "@tanstack/react-start": "latest",
59 "@tanstack/react-store": "latest",
60 "@tanstack/router-plugin": "^1.132.0",
61 "@tanstack/store": "latest",
62 "better-auth": "^1.5.3",
63 "class-variance-authority": "^0.7.1",
64 "clsx": "^2.1.1",
65 "drizzle-kit": "^0.31.9",
66 "drizzle-orm": "^0.45.1",
67 "highlight.js": "^11.11.1",
68 "jose": "^6.2.3",
69 "lucide-react": "^0.577.0",
70 "posthog-js": "^1.438.7",
71 "posthog-node": "^5.55.2",
72 "react": "^19.2.0",
73 "react-dom": "^19.2.0",
74 "streamdown": "^2.3.0",
75 "tailwind-merge": "^3.0.2",
76 "tailwindcss": "^4.1.18",
77 "tw-animate-css": "^1.3.6",
78 "yaml": "^2.9.0",
79 "zod": "^4.3.6"
80 },
81 "devDependencies": {
82 "@changesets/cli": "^3.0.3",
83 "@cloudflare/vitest-pool-workers": "^0.16.14",
84 "@cloudflare/workers-types": "^4.20260611.1",
85 "@hey-api/openapi-ts": "0.97.2",
86 "@modelschemas/client": "workspace:*",
87 "@modelschemas/codegen": "workspace:*",
88 "@tailwindcss/typography": "^0.5.16",
89 "@tanstack/devtools-event-client": "latest",
90 "@tanstack/devtools-vite": "latest",
91 "@tanstack/eslint-config": "latest",
92 "@tanstack/router-cli": "^1.132.0",
93 "@testing-library/dom": "^10.4.1",
94 "@testing-library/react": "^16.3.0",
95 "@types/node": "^22.10.2",
96 "@types/react": "^19.2.0",
97 "@types/react-dom": "^19.2.0",
98 "@vitejs/plugin-react": "^6.0.1",
99 "dotenv": "^17.3.1",
100 "eslint": "^9.20.0",
101 "jsdom": "^28.1.0",
102 "lefthook": "^2.1.9",
103 "prettier": "^3.8.1",
104 "tsx": "^4.21.0",
105 "typescript": "^6.0.2",
106 "vite": "^8.0.0",
107 "vitest": "^4.1.5",
108 "wrangler": "^4.70.0"
109 },
110 "pnpm": {
111 "onlyBuiltDependencies": [
112 "esbuild",
113 "lightningcss"
114 ]
115 },
116 "workspaces": [
117 "packages/*",
118 "examples/*"
119 ]