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

package.json

72 lines3.2 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@10.17.0",
9 "type": "module",
10 "pnpm": {
11 "overrides": {
12 "abbrev": "^3.0.0"
13 }
14 },
15 "scripts": {
16 "clean": "pnpm --filter \"./packages/**\" run clean",
17 "test": "pnpm run test:ci",
18 "test:pr": "nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build",
19 "test:ci": "nx run-many --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build",
20 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
21 "test:sherif": "sherif",
22 "test:lib": "nx affected --targets=test:lib --exclude=examples/**",
23 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
24 "test:coverage": "nx affected --targets=test:coverage --exclude=examples/**",
25 "test:build": "nx affected --target=test:build --exclude=examples/**",
26 "test:types": "nx affected --targets=test:types --exclude=examples/**",
27 "test:knip": "knip",
28 "test:docs": "node scripts/verify-links.ts",
29 "build": "nx affected --skip-nx-cache --targets=build --exclude=examples/**",
30 "build:all": "nx run-many --targets=build --exclude=examples/**",
31 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
32 "dev": "pnpm run watch",
33 "format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
34 "generate-docs": "node scripts/generate-docs.ts && pnpm run copy:readme",
35 "sync-docs-config": "node scripts/sync-docs-config.ts",
36 "copy:readme": "cp README.md packages/typescript/ai/README.md && cp README.md packages/typescript/ai-devtools/README.md && cp README.md packages/typescript/ai-client/README.md && cp README.md packages/typescript/ai-gemini/README.md && cp README.md packages/typescript/ai-ollama/README.md && cp README.md packages/typescript/ai-openai/README.md && cp README.md packages/typescript/ai-react/README.md && cp README.md packages/typescript/ai-react-ui/README.md && cp README.md packages/typescript/react-ai-devtools/README.md && cp README.md packages/typescript/solid-ai-devtools/README.md",
37 "changeset": "changeset",
38 "changeset:publish": "changeset publish",
39 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format"
40 },
41 "nx": {
42 "includedScripts": [
43 "test:docs",
44 "test:knip",
45 "test:sherif"
46 ]
47 },
48 "devDependencies": {
49 "@changesets/cli": "^2.29.8",
50 "@faker-js/faker": "^10.1.0",
51 "@svitejs/changesets-changelog-github-compact": "^1.2.0",
52 "@tanstack/eslint-config": "0.3.3",
53 "@tanstack/typedoc-config": "0.3.1",
54 "@tanstack/vite-config": "0.4.1",
55 "@types/node": "^24.10.1",
56 "eslint": "^9.39.1",
57 "eslint-plugin-unused-imports": "^4.3.0",
58 "happy-dom": "^20.0.10",
59 "knip": "^5.70.2",
60 "markdown-link-extractor": "^4.0.3",
61 "nx": "22.1.2",
62 "premove": "^4.0.0",
63 "prettier": "^3.7.4",
64 "prettier-plugin-svelte": "^3.4.0",
65 "publint": "^0.3.15",
66 "sherif": "^1.9.0",
67 "tinyglobby": "^0.2.15",
68 "typescript": "5.9.3",
69 "vite": "^7.2.7",
70 "vitest": "^4.0.14"
71 }