hts/packages/isdk/package.json

197 lines
6.3 KiB
JSON

{
"name": "@aigxion/isdk",
"version": "0.0.3",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*",
"react/dist/**/*",
"vue/dist/**/*",
"solid/dist/**/*",
"prompts/dist/**/*",
"rsc/dist/**/*",
"google/dist/**/*",
"openai/dist/**/*",
"anthropic/dist/**/*",
"mistral/dist/**/*"
],
"scripts": {
"postinstall": "npm run build",
"build": "tsup && cat react/dist/index.server.d.ts >> react/dist/index.d.ts",
"clean": "rm -rf dist && rm -rf core/dist && rm -rf google/dist && rm -rf anthropic/dist && rm -rf openai/dist && rm -rf mistral/dist && rm -rf react/dist && rm -rf svelte/dist && rm -rf vue/dist && rm -rf solid/dist && rm -rf rsc/dist",
"dev": "tsup --watch",
"lint": "eslint \"./**/*.ts*\"",
"type-check": "tsc --noEmit",
"prettier-check": "prettier --check \"./**/*.ts*\"",
"test": "pnpm test:node && pnpm test:edge && pnpm test:ui",
"test:edge": "vitest --config vitest.edge.config.js --run --threads=false",
"test:node": "vitest --config vitest.node.config.js --run --threads=false",
"test:node:core": "pnpm vitest --config vitest.node.config.js --run --threads=false ./core/",
"test:node:anthropic": "pnpm vitest --config vitest.node.config.js --run --threads=false ./anthropic/",
"test:node:google": "pnpm vitest --config vitest.node.config.js --run --threads=false ./google/",
"test:node:openai": "pnpm vitest --config vitest.node.config.js --run --threads=false ./openai/",
"test:node:mistral": "pnpm vitest --config vitest.node.config.js --run --threads=false ./mistral/",
"test:ui": "pnpm test:ui:react && pnpm test:ui:vue && pnpm test:ui:solid",
"test:ui:react": "vitest --config vitest.ui.react.config.js --run",
"test:ui:solid": "vitest --config vitest.ui.solid.config.js --run",
"test:ui:vue": "vitest --config vitest.ui.vue.config.js --run",
"test:edge:watch": "vitest --config vitest.edge.config.js --threads=false",
"test:node:watch": "vitest --config vitest.node.config.js --threads=false",
"test:ui:react:watch": "vitest --config vitest.ui.react.config.js",
"test:ui:solid:watch": "vitest --config vitest.ui.solid.config.js",
"test:ui:vue:watch": "vitest --config vitest.ui.vue.config.js"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./anthropic": {
"types": "./anthropic/dist/index.d.ts",
"import": "./anthropic/dist/index.mjs",
"module": "./anthropic/dist/index.mjs",
"require": "./anthropic/dist/index.js"
},
"./google": {
"types": "./google/dist/index.d.ts",
"import": "./google/dist/index.mjs",
"module": "./google/dist/index.mjs",
"require": "./google/dist/index.js"
},
"./openai": {
"types": "./openai/dist/index.d.ts",
"import": "./openai/dist/index.mjs",
"module": "./openai/dist/index.mjs",
"require": "./openai/dist/index.js"
},
"./mistral": {
"types": "./mistral/dist/index.d.ts",
"import": "./mistral/dist/index.mjs",
"module": "./mistral/dist/index.mjs",
"require": "./mistral/dist/index.js"
},
"./rsc": {
"types": "./rsc/dist/index.d.ts",
"react-server": "./rsc/dist/rsc-server.mjs",
"import": "./rsc/dist/rsc-client.mjs"
},
"./prompts": {
"types": "./prompts/dist/index.d.ts",
"import": "./prompts/dist/index.mjs",
"require": "./prompts/dist/index.js"
},
"./react": {
"types": "./react/dist/index.d.ts",
"react-server": "./react/dist/index.server.mjs",
"import": "./react/dist/index.mjs",
"require": "./react/dist/index.js"
},
"./vue": {
"types": "./vue/dist/index.d.ts",
"import": "./vue/dist/index.mjs",
"require": "./vue/dist/index.js"
},
"./solid": {
"types": "./solid/dist/index.d.ts",
"import": "./solid/dist/index.mjs",
"require": "./solid/dist/index.js"
}
},
"dependencies": {
"@ai-sdk/provider": "workspace:^",
"secure-json-parse": "2.7.0",
"eventsource-parser": "1.1.2",
"jsondiffpatch": "0.6.0",
"json-schema": "0.4.0",
"nanoid": "3.3.6",
"solid-swr-store": "0.10.7",
"sswr": "2.0.0",
"swr": "2.2.0",
"swr-store": "0.10.6",
"swrv": "1.0.4",
"zod-to-json-schema": "3.22.5"
},
"devDependencies": {
"@anthropic-ai/sdk": "0.18.0",
"@aws-sdk/client-bedrock-runtime": "3.451.0",
"@edge-runtime/vm": "^3.1.7",
"@google/generative-ai": "0.1.1",
"@huggingface/inference": "2.6.4",
"@mistralai/mistralai": "0.1.3",
"@solidjs/testing-library": "0.8.4",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@testing-library/vue": "^8.0.1",
"@types/json-schema": "7.0.15",
"@types/node": "^17.0.12",
"@types/react": "^18.2.8",
"@types/react-dom": "^18.2.0",
"@vercel/ai-tsconfig": "workspace:*",
"@vitejs/plugin-react": "4.2.0",
"@vitejs/plugin-vue": "4.5.0",
"cohere-ai": "^7.6.2",
"eslint": "^7.32.0",
"eslint-config-vercel-ai": "workspace:*",
"jsdom": "^23.0.0",
"langchain": "0.0.196",
"msw": "2.0.9",
"openai": "4.29.0",
"react-dom": "^18.2.0",
"react-server-dom-webpack": "18.3.0-canary-eb33bd747-20240312",
"solid-js": "^1.8.7",
"tsup": "^7.2.0",
"typescript": "5.1.3",
"vite-plugin-solid": "2.7.2",
"zod": "3.22.4"
},
"peerDependencies": {
"react": "^18.2.0",
"solid-js": "^1.7.7",
"svelte": "^3.0.0 || ^4.0.0",
"vue": "^3.3.4",
"zod": "^3.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"svelte": {
"optional": true
},
"vue": {
"optional": true
},
"solid-js": {
"optional": true
},
"zod": {
"optional": true
}
},
"engines": {
"node": ">=14.6"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://sdk.vercel.ai/docs",
"repository": {
"type": "git",
"url": "git+https://github.com/vercel/ai.git"
},
"bugs": {
"url": "https://github.com/vercel/ai/issues"
},
"keywords": [
"ai",
"nextjs",
"svelte",
"react",
"vue"
]
}