@friendliai/ai-provider
Version:
Learn how to use the FriendliAI provider for the Vercel AI SDK.
73 lines • 1.86 kB
JSON
{
"name": "@friendliai/ai-provider",
"version": "0.2.4",
"license": "Apache-2.0",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*",
"CHANGELOG.md"
],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./internal": {
"types": "./internal/dist/index.d.ts",
"import": "./internal/dist/index.mjs",
"module": "./internal/dist/index.mjs",
"require": "./internal/dist/index.js"
}
},
"dependencies": {
"@ai-sdk/openai-compatible": "^0.1.11",
"@ai-sdk/provider": "1.0.8",
"@ai-sdk/provider-utils": "2.1.9"
},
"devDependencies": {
"@edge-runtime/vm": "^5.0.0",
"@types/node": "^22.13.5",
"globals": "^16.0.0",
"tsup": "^8.3.6",
"typescript": "5.7.3",
"zod": "3.24.2"
},
"peerDependencies": {
"zod": "^3.0.0"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://friendli.ai/docs/sdk/integrations/vercel-ai-sdk",
"repository": {
"type": "git",
"url": "https://github.com/friendliai/ai-provider.git"
},
"bugs": {
"url": "https://friendliai.canny.io/feature-requests-feedback"
},
"keywords": [
"ai",
"vercel-ai",
"friendliai"
],
"scripts": {
"build": "tsup",
"clean": "rm -rf dist && rm -rf internal/dist",
"dev": "tsup --watch",
"lint": "eslint \"./**/*.ts*\"",
"type-check": "tsc --noEmit",
"prettier-check": "prettier --check \"./**/*.ts*\"",
"test": "pnpm test:node && pnpm test:edge",
"test:edge": "vitest --config vitest.edge.config.js --run",
"test:node": "vitest --config vitest.node.config.js --run"
}
}