@cognigy/rest-api-client
Version:
Cognigy REST-Client
85 lines (84 loc) • 2.92 kB
JSON
{
"name": "@cognigy/rest-api-client",
"version": "2026.16.0",
"description": "Cognigy REST-Client",
"main": "build/index.js",
"module": "dist/esm/index.js",
"types": "types/index.d.ts",
"scripts": {
"build": "npm run clean && npm run lint && npm run build:only && npm run build:types && npm run build:esm",
"build:only": "tsc -p .",
"build:esm": "tsc -b ./tsconfig.esm.json",
"build:types": "dts-bundle-generator -o ./types/index.d.ts ./src/index.ts --project ./tsconfig.types.json --no-check",
"bundle": "rollup --config",
"clean": "rimraf ./build && rimraf ./types && rimraf ./.nyc-output",
"lint": "eslint --quiet \"src/**/*.{ts,tsx}\"",
"lint:fix": "eslint --fix './src/**/*.ts'",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"test:only": "npm run test:unit",
"test:unit": "nyc mocha --opts .mocharc && rimraf ./.nyc_output",
"test:aiAgentsV2": "node --import=tsx --test --test-timeout=120000 --test-force-exit --test-reporter spec ./src/spec/aiAgentV2.spec.ts",
"prepublishOnly": "npm run build",
"test:serviceToolkit": "node --import=tsx --test --test-timeout=10000 --test-force-exit --test-reporter spec ./src/spec/serviceToolkit/evalProfileAPI.test.ts"
},
"repository": {},
"keywords": [
"cognigy",
"api",
"rest",
"client"
],
"author": "Cognigy GmbH",
"license": "Cognigy Proprietary License",
"dependencies": {
"@cognigy/extension-tools": "0.17.0-rc4",
"ajv": "6.14.0",
"axios": "1.18.1",
"form-data": "4.0.4",
"tus-js-client": "^3.1.1",
"uuidv4": "6.2.13"
},
"devDependencies": {
"@babel/cli": "7.18.10",
"@babel/core": "7.18.10",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.18.9",
"@babel/plugin-proposal-optional-chaining": "7.18.9",
"@babel/plugin-transform-runtime": "7.18.10",
"@babel/preset-env": "7.18.10",
"@babel/preset-typescript": "7.18.6",
"@babel/runtime": "7.18.9",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "22.0.2",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-typescript": "8.3.4",
"@types/node": "22.19.7",
"@types/sinon": "10.0.13",
"@types/tus-js-client": "^2.1.0",
"@typescript-eslint/eslint-plugin": "5.33.1",
"@typescript-eslint/parser": "5.33.1",
"core-js": "3.24.1",
"dts-bundle-generator": "6.12.0",
"eslint": "8.22.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-security": "1.5.0",
"eslint-plugin-security-node": "^1.1.1",
"eslint-plugin-sonarjs": "0.15.0",
"prettier": "2.7.1",
"regenerator-runtime": "0.13.9",
"rimraf": "3.0.2",
"rollup": "2.78.0",
"tsx": "4.21",
"typescript": "4.7.4"
},
"engines": {
"node": ">=22.1.0",
"npm": ">=10.1.0",
"vscode": "^1.22.0"
}
}