55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"name": "@botpress/cognitive",
|
|
"version": "0.6.1",
|
|
"description": "Wrapper around the Botpress Client to call LLMs",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"url": "https://github.com/botpress/botpress"
|
|
},
|
|
"scripts": {
|
|
"check:type": "tsc --noEmit",
|
|
"build:type": "rollup -c rollup.dts.config.mjs",
|
|
"build:neutral": "ts-node -T ./build.ts --neutral",
|
|
"build": "pnpm build:neutral && pnpm build:type && size-limit",
|
|
"test:e2e": "vitest run --dir ./e2e",
|
|
"test": "vitest --run",
|
|
"refresh:models": "ts-node -T ./refresh-models.ts && pnpm prettier src/cognitive-v2/models.ts --write"
|
|
},
|
|
"size-limit": [
|
|
{
|
|
"limit": "50 kB",
|
|
"path": "dist/index.cjs"
|
|
},
|
|
{
|
|
"limit": "50 kB",
|
|
"path": "dist/index.mjs"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"exponential-backoff": "^3.1.1",
|
|
"nanoevents": "^9.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@botpress/cli": "workspace:*",
|
|
"@botpress/client": "workspace:*",
|
|
"@botpress/common": "workspace:*",
|
|
"@bpinternal/zui": "workspace:*",
|
|
"@size-limit/file": "^11.1.6",
|
|
"@types/axios": "^0.14.4",
|
|
"@types/debug": "^4.1.12",
|
|
"axios": "^1.7.9",
|
|
"dotenv": "^16.4.4",
|
|
"esbuild": "^0.25.10",
|
|
"rollup": "^4.60.4",
|
|
"rollup-plugin-dts": "^6.4.1",
|
|
"size-limit": "^11.1.6"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"packageManager": "pnpm@10.29.3"
|
|
}
|