Files
vercel__chat/packages/tests/package.json
2026-09-09 17:54:32 +00:00

68 lines
1.5 KiB
JSON

{
"name": "@chat-adapter/tests",
"version": "4.41.0",
"description": "Vitest factories, matchers, and setup utilities for testing Chat SDK adapters and bots",
"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"
},
"./matchers": {
"types": "./dist/matchers.d.ts",
"import": "./dist/matchers.js"
},
"./setup": {
"types": "./dist/setup.d.ts",
"import": "./dist/setup.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run --coverage",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist"
},
"peerDependencies": {
"chat": "^4.28.1",
"vitest": "^4.0.0"
},
"devDependencies": {
"@types/node": "^25.3.2",
"@vitest/expect": "^4.0.18",
"chat": "workspace:*",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^4.0.18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vercel/chat.git",
"directory": "packages/tests"
},
"homepage": "https://chat-sdk.dev/docs/testing",
"bugs": {
"url": "https://github.com/vercel/chat/issues"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"chat",
"testing",
"vitest",
"matchers",
"mocks",
"test-kit"
],
"license": "MIT"
}