langbase
Version:
The AI SDK for building declarative and composable AI-powered LLM products.
100 lines • 2.81 kB
JSON
{
"name": "langbase",
"version": "1.2.3",
"license": "Apache-2.0",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/**",
"react/dist/**"
],
"dependencies": {
"dotenv": "^16.4.5",
"openai": "^4.82.0",
"zod": "^3.23.8",
"zod-validation-error": "^3.3.0"
},
"devDependencies": {
"@edge-runtime/vm": "^4.0.1",
"@playwright/test": "^1.44.1",
"@testing-library/react": "^16.0.1",
"@types/node": "^20.11.24",
"@types/react": "^18.3.9",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"jsdom": "^24.1.0",
"react": "^18",
"tsup": "^8.3.6",
"typescript": "^5.3.3",
"vitest": "1.6.0",
"@langbase/eslint-config": "1.0.0",
"@langbase/tsconfig": "1.0.0"
},
"publishConfig": {
"access": "public"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./react": {
"types": "./react/dist/index.d.ts",
"require": "./react/dist/index.js",
"import": "./react/dist/index.mjs"
}
},
"engines": {
"node": ">=18"
},
"homepage": "https://langbase.com/docs",
"repository": {
"type": "git",
"url": "git+https://github.com/LangbaseInc/langbase-sdk.git"
},
"bugs": {
"url": "https://github.com/LangbaseInc/langbase-sdk/issues"
},
"keywords": [
"ai",
"llm",
"langbase core",
"langbase sdk",
"baseai",
"base ai",
"langbase",
"langbase.com",
"generative AI"
],
"peerDependencies": {
"react": "^18 || ^19"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"scripts": {
"build": "tsup --config tsup.config.ts --format esm,cjs --dts --external react",
"dev": "tsup --config tsup.config.ts --format esm,cjs --watch --dts --external react",
"xdev": "tsup --watch",
"lint": "eslint \"src/**/*.ts*\"",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"type-check": "tsc --noEmit",
"prettier-check": "prettier --check \"./**/*.ts*\"",
"test": "pnpm test:node && pnpm test:edge",
"#test": "pnpm test:node && pnpm test:edge && pnpm test:ui && pnpm test:e2e",
"test:edge": "vitest --config vitest.edge.config.js --run",
"test:node": "vitest --config vitest.node.config.js --run",
"test:ui": "pnpm test:ui:react",
"test:ui:react": "vitest --config vitest.ui.react.config.js --run",
"test:e2e": "playwright test",
"test:edge:watch": "vitest --config vitest.edge.config.js",
"test:node:watch": "vitest --config vitest.node.config.js",
"test:ui:react:watch": "vitest --config vitest.ui.react.config.js"
}
}