Files
simple-ai-provider/package.json

67 lines
1.6 KiB
JSON

{
"name": "simple-ai-provider",
"version": "1.1.2",
"description": "A simple and extensible AI provider package for easy integration of multiple AI services",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"package.json"
],
"scripts": {
"build": "bun run build:clean && bun run build:types && bun run build:esm && bun run build:cjs",
"build:clean": "rm -rf dist",
"build:types": "tsc --project tsconfig.build.json",
"build:esm": "bun build src/index.ts --outfile dist/index.mjs --format esm",
"build:cjs": "bun build src/index.ts --outfile dist/index.js --format cjs",
"dev": "bun run src/index.ts",
"test": "bun test",
"prepublishOnly": "bun run build"
},
"keywords": [
"ai",
"claude",
"anthropic",
"openai",
"gpt",
"gemini",
"google",
"provider",
"typescript",
"nodejs",
"openwebui",
"llm",
"unified-api"
],
"author": "Jan-Marlon Leibl",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://gitea.jleibl.net/jleibl/simple-ai-provider.git"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.52.0",
"@google/generative-ai": "^0.24.1",
"openai": "^4.103.0"
},
"devDependencies": {
"@types/bun": "latest",
"@types/node": "^20.0.0"
},
"peerDependencies": {
"typescript": "^5"
},
"engines": {
"node": ">=18.0.0"
}
}