UNPKG

@kontext.dev/kontext-sdk

Version:

Unified SDK for AI-powered context and personalization

122 lines 3.13 kB
{ "name": "@kontext.dev/kontext-sdk", "version": "0.3.3", "description": "Unified SDK for AI-powered context and personalization", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/co-browser/kontext" }, "bugs": { "url": "https://github.com/co-browser/kontext/issues" }, "homepage": "https://github.com/co-browser/kontext#readme", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./react": { "types": "./dist/react/index.d.ts", "import": "./dist/react/index.js", "require": "./dist/react/index.cjs" }, "./components": { "types": "./dist/components/index.d.ts", "import": "./dist/components/index.js", "require": "./dist/components/index.cjs" }, "./client/vault-client": { "types": "./dist/client/vault-client.d.ts", "import": "./dist/client/vault-client.js", "require": "./dist/client/vault-client.cjs" }, "./client/profile-client": { "types": "./dist/client/profile-client.d.ts", "import": "./dist/client/profile-client.js", "require": "./dist/client/profile-client.cjs" } }, "files": [ "dist", "dist/**/*.css" ], "dependencies": { "@floating-ui/react": "^0.27.13", "@tanstack/react-query": "^5.83.0", "@trpc/client": "^11.5.0", "@trpc/react-query": "^11.5.0", "better-auth": "^1.3.4", "superjson": "^2.2.1", "ws": "^8.18.3" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-dom": { "optional": true } }, "devDependencies": { "@floating-ui/react": "^0.27.13", "@tanstack/react-query": "^5.83.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", "@types/node": "^20.0.0", "@types/react": "^19.0.2", "@types/react-dom": "^19.0.2", "jsdom": "^26.0.0", "prettier": "^3.0.0", "react": "^19.1.0", "react-dom": "^19.1.0", "superjson": "^2.2.1", "tsup": "^8.3.5", "typedoc": "^0.28.11", "typescript": "^5.7.2", "vitest": "^2.1.8", "@kontext/api": "0.1.0" }, "keywords": [ "kontext", "ai", "personalization", "sdk", "react", "hooks", "context", "embeddings" ], "author": "Kontext", "publishConfig": { "access": "public" }, "sideEffects": [ "**/*.css", "dist/**/*.css" ], "engines": { "node": ">=18.0.0" }, "scripts": { "build": "tsup", "dev": "tsup --watch", "test": "vitest run", "test:watch": "vitest", "typecheck": "tsc --noEmit", "clean": "rm -rf dist node_modules", "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"", "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"", "docs": "typedoc", "docs:watch": "typedoc --watch" } }