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

package.json

90 lines4.0 KB

1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "git+https://github.com/TanStack/ai.git"
7 },
8 "packageManager": "pnpm@11.9.0",
9 "type": "module",
10 "engines": {
11 "pnpm": ">=11.9.0"
12 },
13 "scripts": {
14 "clean": "pnpm --filter \"./packages/**\" run clean",
15 "clean:all": "git clean -fdx --exclude=\"!.env\"",
16 "test": "pnpm run test:ci",
17 "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",
18 "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",
19 "test:oxlint": "nx affected --target=test:oxlint --exclude=examples/**,testing/**",
20 "test:sherif": "sherif --ignore-dependency typescript --ignore-dependency vite",
21 "test:lib": "nx affected --targets=test:lib --exclude=examples/**,testing/**",
22 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
23 "test:coverage": "nx affected --targets=test:coverage --exclude=examples/**,testing/**",
24 "test:build": "nx affected --target=test:build --exclude=examples/**,testing/**",
25 "test:types": "nx affected --targets=test:types --exclude=examples/**,testing/**",
26 "test:knip": "knip",
27 "test:docs": "tsx scripts/verify-links.ts",
28 "test:dts": "node scripts/scan-dangling-dts.mjs",
29 "test:kiira": "kiira check",
30 "test:react-native": "pnpm --filter @tanstack/ai-react-native-smoke smoke",
31 "test:e2e": "pnpm --filter @tanstack/ai-e2e test:e2e",
32 "test:e2e:ui": "pnpm --filter @tanstack/ai-e2e test:e2e:ui",
33 "codemod:ag-ui-compliance": "pnpm --filter @tanstack/ai-codemods exec node ./run.mjs ag-ui-compliance",
34 "codemod:move-sampling-to-model-options": "pnpm --filter @tanstack/ai-codemods exec node ./run.mjs move-sampling-to-model-options",
35 "build": "nx affected --skip-nx-cache --targets=build --exclude=examples/**,testing/**",
36 "build:all": "nx run-many --targets=build --exclude=examples/**,testing/**",
37 "watch": "pnpm run build:all && env NX_DAEMON=true nx watch --all -- pnpm run build:all",
38 "dev": "pnpm run watch",
39 "dev:chat": "pnpm --filter ts-react-chat dev",
40 "format": "oxfmt .",
41 "generate-docs": "node scripts/generate-docs.ts && pnpm run copy:readme",
42 "generate:fal-image-fields": "tsx scripts/generate-fal-image-field-map.ts",
43 "generate:models": "pnpm generate:models:fetch && pnpm regenerate:models && tsx scripts/sync-provider-models.ts && pnpm format",
44 "generate:models:fetch": "tsx scripts/fetch-openrouter-models.ts",
45 "regenerate:models": "tsx scripts/convert-openrouter-models.ts",
46 "sync-docs-config": "node scripts/sync-docs-config.ts",
47 "copy:readme": "node scripts/copy-readme.js",
48 "changeset": "changeset",
49 "changeset:publish": "changeset publish",
50 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format"
51 },
52 "nx": {
53 "includedScripts": [
54 "test:docs",
55 "test:dts",
56 "test:kiira",
57 "test:knip",
58 "test:sherif"
59 ]
60 },
61 "devDependencies": {
62 "@aws-sdk/client-bedrock": "^3.1057.0",
63 "@changesets/changelog-github": "^0.7.0",
64 "@changesets/cli": "^2.30.0",
65 "@faker-js/faker": "^10.1.0",
66 "@stylistic/eslint-plugin": "^5.10.0",
67 "@tanstack/typedoc-config": "0.3.1",
68 "@tanstack/vite-config": "0.6.0",
69 "@types/node": "^24.10.1",
70 "@typescript/typescript6": "6.0.2",
71 "eslint-plugin-unused-imports": "^4.3.0",
72 "happy-dom": "^20.0.10",
73 "kiira": "0.6.0",
74 "knip": "^6.26.0",
75 "markdown-link-extractor": "^4.0.3",
76 "nx": "23.1.0",
77 "oxfmt": "^0.59.0",
78 "oxlint": "^1.74.0",
79 "oxlint-plugin-eslint": "^1.74.0",
80 "oxlint-tsgolint": "^0.24.0",
81 "premove": "^4.0.0",
82 "publint": "^0.3.15",
83 "sherif": "^1.9.0",
84 "tinyglobby": "^0.2.15",
85 "tsx": "^4.21.0",
86 "typescript": "7.0.2",
87 "vite": "^8.1.4",
88 "vitest": "^4.1.10"
89 }