Files
vercel__chat/packages/state-pg/package.json
Felix Arntz e60bc8c408 chore: add .nvmrc file, formally specify Node version range support, and cover more versions in CI (#465)
* add .nvmrc file

* follow up

* make support of Node >= 20 explicit

* update default Node version for contributing to the repo to 24

* run build-and-test CI job for both Node 20 and 24

* add changeset for package.json change
2026-05-11 19:28:34 +10:00

61 lines
1.3 KiB
JSON

{
"name": "@chat-adapter/state-pg",
"version": "4.28.1",
"description": "Postgres state adapter for chat (production)",
"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:*",
"pg": "^8.20.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vercel/chat.git",
"directory": "packages/state-pg"
},
"homepage": "https://github.com/vercel/chat#readme",
"bugs": {
"url": "https://github.com/vercel/chat/issues"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/node": "^25.3.2",
"@types/pg": "^8.18.0",
"@vitest/coverage-v8": "^4.0.18",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^4.0.18"
},
"keywords": [
"chat",
"state",
"postgres",
"production"
],
"license": "MIT"
}