mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
68 lines
1.5 KiB
JSON
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"
|
|
}
|