-
-
Notifications
You must be signed in to change notification settings - Fork 280
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 3.97 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 3.97 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
{
"name": "root",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/TanStack/ai.git"
},
"packageManager": "pnpm@11.9.0",
"type": "module",
"engines": {
"pnpm": ">=11.9.0"
},
"scripts": {
"clean": "pnpm --filter \"./packages/**\" run clean",
"clean:all": "git clean -fdx --exclude=\"!.env\"",
"test": "pnpm run test:ci",
"test:pr": "pnpm run test:react-native && nx affected --targets=test:sherif,test:knip,test:docs,test:kiira,test:oxlint,test:lib,test:types,test:build,build && pnpm test:dts",
"test:ci": "pnpm run test:react-native && nx run-many --targets=test:sherif,test:knip,test:docs,test:kiira,test:oxlint,test:lib,test:types,test:build,build && pnpm test:dts",
"test:oxlint": "nx affected --target=test:oxlint --exclude=examples/**,testing/**",
"test:sherif": "sherif --ignore-dependency typescript --ignore-dependency vite",
"test:lib": "nx affected --targets=test:lib --exclude=examples/**,testing/**",
"test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
"test:coverage": "nx affected --targets=test:coverage --exclude=examples/**,testing/**",
"test:build": "nx affected --target=test:build --exclude=examples/**,testing/**",
"test:types": "nx affected --targets=test:types --exclude=examples/**,testing/**",
"test:knip": "knip",
"test:docs": "tsx scripts/verify-links.ts",
"test:dts": "node scripts/scan-dangling-dts.mjs",
"test:kiira": "kiira check",
"test:react-native": "pnpm --filter @tanstack/ai-react-native-smoke smoke",
"test:e2e": "pnpm --filter @tanstack/ai-e2e test:e2e",
"test:e2e:ui": "pnpm --filter @tanstack/ai-e2e test:e2e:ui",
"codemod:ag-ui-compliance": "pnpm --filter @tanstack/ai-codemods exec node ./run.mjs ag-ui-compliance",
"codemod:move-sampling-to-model-options": "pnpm --filter @tanstack/ai-codemods exec node ./run.mjs move-sampling-to-model-options",
"build": "nx affected --skip-nx-cache --targets=build --exclude=examples/**,testing/**",
"build:all": "nx run-many --targets=build --exclude=examples/**,testing/**",
"watch": "pnpm run build:all && env NX_DAEMON=true nx watch --all -- pnpm run build:all",
"dev": "pnpm run watch",
"dev:chat": "pnpm --filter ts-react-chat dev",
"format": "oxfmt .",
"generate-docs": "node scripts/generate-docs.ts && pnpm run copy:readme",
"generate:fal-image-fields": "tsx scripts/generate-fal-image-field-map.ts",
"generate:models": "pnpm generate:models:fetch && pnpm regenerate:models && tsx scripts/sync-provider-models.ts && pnpm format",
"generate:models:fetch": "tsx scripts/fetch-openrouter-models.ts",
"regenerate:models": "tsx scripts/convert-openrouter-models.ts",
"sync-docs-config": "node scripts/sync-docs-config.ts",
"copy:readme": "node scripts/copy-readme.js",
"changeset": "changeset",
"changeset:publish": "changeset publish",
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format"
},
"nx": {
"includedScripts": [
"test:docs",
"test:dts",
"test:kiira",
"test:knip",
"test:sherif"
]
},
"devDependencies": {
"@aws-sdk/client-bedrock": "^3.1057.0",
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.30.0",
"@faker-js/faker": "^10.1.0",
"@stylistic/eslint-plugin": "^5.10.0",
"@tanstack/typedoc-config": "0.3.1",
"@tanstack/vite-config": "0.6.0",
"@types/node": "^24.10.1",
"@typescript/typescript6": "6.0.2",
"eslint-plugin-unused-imports": "^4.3.0",
"happy-dom": "^20.0.10",
"kiira": "0.6.0",
"knip": "^6.26.0",
"markdown-link-extractor": "^4.0.3",
"nx": "23.1.0",
"oxfmt": "^0.59.0",
"oxlint": "^1.74.0",
"oxlint-plugin-eslint": "^1.74.0",
"oxlint-tsgolint": "^0.24.0",
"premove": "^4.0.0",
"publint": "^0.3.15",
"sherif": "^1.9.0",
"tinyglobby": "^0.2.15",
"tsx": "^4.21.0",
"typescript": "7.0.2",
"vite": "^8.1.4",
"vitest": "^4.1.10"
}
}