mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
68 lines
1.4 KiB
JSON
68 lines
1.4 KiB
JSON
{
|
|
"name": "@chat-adapter/state-memory",
|
|
"version": "4.41.0",
|
|
"description": "In-memory state adapter for Chat SDK — zero-dependency subscriptions, locks, and cache for local development and tests",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"test": "vitest run --coverage",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"dependencies": {
|
|
"chat": "workspace:*"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vercel/chat.git",
|
|
"directory": "packages/state-memory"
|
|
},
|
|
"homepage": "https://chat-sdk.dev/adapters/official/memory",
|
|
"bugs": {
|
|
"url": "https://github.com/vercel/chat/issues"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.3.2",
|
|
"tsup": "^8.3.5",
|
|
"typescript": "^5.7.2",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"keywords": [
|
|
"chat",
|
|
"chat-sdk",
|
|
"state",
|
|
"state-adapter",
|
|
"memory",
|
|
"in-memory",
|
|
"subscriptions",
|
|
"distributed-lock",
|
|
"cache",
|
|
"development",
|
|
"testing",
|
|
"local",
|
|
"typescript",
|
|
"vercel"
|
|
],
|
|
"license": "MIT"
|
|
}
|