helpingai
Version:
The official JavaScript/TypeScript library for the HelpingAI API - Advanced AI with Emotional Intelligence
118 lines (117 loc) • 3.88 kB
JSON
{
"name": "helpingai",
"version": "1.0.1",
"description": "The official JavaScript/TypeScript library for the HelpingAI API - Advanced AI with Emotional Intelligence",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"build:types": "tsc -p tsconfig.types.json",
"build:dev": "npm run build -- --watch",
"clean": "rimraf dist",
"dev": "tsx watch examples/basic-usage.ts",
"test": "jest --passWithNoTests",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src examples --ext .ts,.js",
"lint:fix": "eslint src examples --ext .ts,.js --fix",
"format": "prettier --write \"src/**/*.ts\" \"examples/**/*.ts\" \"*.{js,json,md}\"",
"format:check": "prettier --check \"src/**/*.ts\" \"examples/**/*.ts\" \"*.{js,json,md}\"",
"typecheck": "tsc --noEmit",
"examples:basic": "tsx examples/basic-usage.ts",
"examples:streaming": "tsx examples/streaming.ts",
"examples:tools": "tsx examples/tool-calling.ts",
"examples:mcp": "tsx examples/mcp-integration.ts",
"examples:advanced": "tsx examples/advanced-features.ts",
"examples:troubleshooting": "tsx examples/troubleshooting.ts",
"examples:all": "npm run examples:basic && npm run examples:streaming && npm run examples:tools && npm run examples:mcp && npm run examples:advanced && npm run examples:troubleshooting",
"prepublishOnly": "npm run build && npm run test && npm run lint",
"release": "npm run prepublishOnly && npm publish",
"docs:build": "typedoc src/index.ts --out docs/generated",
"docs:serve": "http-server docs/generated -p 8080",
"validate": "npm run typecheck && npm run lint && npm run format:check",
"validate:fix": "npm run typecheck && npm run lint:fix && npm run format",
"start": "npm run examples:basic",
"demo": "npm run examples:all"
},
"keywords": [
"ai",
"artificial-intelligence",
"helpingai",
"chat",
"completion",
"openai",
"emotional-intelligence",
"mcp",
"model-context-protocol",
"tools",
"typescript",
"javascript"
],
"author": "HelpingAI Team <team@helpingai.co>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/HelpingAI/HelpingAI-js.git"
},
"bugs": {
"url": "https://github.com/HelpingAI/HelpingAI-js/issues"
},
"homepage": "https://helpingai.co",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@types/uuid": "^10.0.0",
"cross-fetch": "^4.0.0",
"eventsource": "^2.0.2",
"uuid": "^11.1.0"
},
"devDependencies": {
"@types/eventsource": "^1.1.15",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"tsx": "^4.7.1",
"typedoc": "^0.25.12",
"typescript": "^5.4.2"
},
"peerDependencies": {
"@modelcontextprotocol/sdk": "^0.4.0"
},
"peerDependenciesMeta": {
"@modelcontextprotocol/sdk": {
"optional": true
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}