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

package.json

115 lines4.0 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 "db:generate": "drizzle-kit generate",
26 "db:migrate": "wrangler d1 migrations apply DB --local",
27 "db:migrate:remote": "wrangler d1 migrations apply DB --remote",
28 "db:push": "drizzle-kit push",
29 "db:studio": "drizzle-kit studio",
30 "openapi:emit": "bun scripts/emit-openapi.ts",
31 "generate:client": "bun run openapi:emit && cd packages/client && bunx openapi-ts",
32 "check:client": "bun run generate:client && git diff --exit-code openapi.json packages/client",
33 "types": "wrangler types --include-runtime=false",
34 "npm:pack": "bun scripts/npm-pack.ts",
35 "gap:report": "bun scripts/gap-report.ts",
36 "compare:models-dev": "bun scripts/compare-models-dev.ts"
37 },
38 "dependencies": {
39 "@better-auth/agent-auth": "^0.5.1",
40 "@better-auth/api-key": "^1.6.16",
41 "@cfworker/json-schema": "^4.1.1",
42 "@modelschemas/rate-card": "workspace:*",
43 "@cloudflare/vite-plugin": "^1.26.0",
44 "@tailwindcss/vite": "^4.1.18",
45 "@tanstack/ai": "latest",
46 "@tanstack/ai-anthropic": "latest",
47 "@tanstack/ai-client": "latest",
48 "@tanstack/ai-gemini": "latest",
49 "@tanstack/ai-ollama": "latest",
50 "@tanstack/ai-openai": "latest",
51 "@tanstack/ai-react": "latest",
52 "@tanstack/react-devtools": "latest",
53 "@tanstack/react-router": "latest",
54 "@tanstack/react-router-devtools": "latest",
55 "@tanstack/react-router-ssr-query": "latest",
56 "@tanstack/react-start": "latest",
57 "@tanstack/react-store": "latest",
58 "@tanstack/router-plugin": "^1.132.0",
59 "@tanstack/store": "latest",
60 "better-auth": "^1.5.3",
61 "class-variance-authority": "^0.7.1",
62 "clsx": "^2.1.1",
63 "drizzle-kit": "^0.31.9",
64 "drizzle-orm": "^0.45.1",
65 "highlight.js": "^11.11.1",
66 "jose": "^6.2.3",
67 "lucide-react": "^0.577.0",
68 "react": "^19.2.0",
69 "react-dom": "^19.2.0",
70 "streamdown": "^2.3.0",
71 "tailwind-merge": "^3.0.2",
72 "tailwindcss": "^4.1.18",
73 "tw-animate-css": "^1.3.6",
74 "yaml": "^2.9.0",
75 "zod": "^4.3.6"
76 },
77 "devDependencies": {
78 "@cloudflare/vitest-pool-workers": "^0.16.14",
79 "@cloudflare/workers-types": "^4.20260611.1",
80 "@hey-api/openapi-ts": "0.97.2",
81 "@modelschemas/client": "workspace:*",
82 "@modelschemas/codegen": "workspace:*",
83 "@tailwindcss/typography": "^0.5.16",
84 "@tanstack/devtools-event-client": "latest",
85 "@tanstack/devtools-vite": "latest",
86 "@tanstack/eslint-config": "latest",
87 "@tanstack/router-cli": "^1.132.0",
88 "@testing-library/dom": "^10.4.1",
89 "@testing-library/react": "^16.3.0",
90 "@types/node": "^22.10.2",
91 "@types/react": "^19.2.0",
92 "@types/react-dom": "^19.2.0",
93 "@vitejs/plugin-react": "^6.0.1",
94 "dotenv": "^17.3.1",
95 "eslint": "^9.20.0",
96 "jsdom": "^28.1.0",
97 "lefthook": "^2.1.9",
98 "prettier": "^3.8.1",
99 "tsx": "^4.21.0",
100 "typescript": "^6.0.2",
101 "vite": "^8.0.0",
102 "vitest": "^4.1.5",
103 "wrangler": "^4.70.0"
104 },
105 "pnpm": {
106 "onlyBuiltDependencies": [
107 "esbuild",
108 "lightningcss"
109 ]
110 },
111 "workspaces": [
112 "packages/*",
113 "examples/*"
114 ]