open-learning-exchange/planet

View on GitHub
chatapi/package.json

Summary

Maintainability
Test Coverage
{
  "name": "chatapi",
  "version": "0.0.7",
  "description": "A proxy service to make API calls to GPT and other LLMs",
  "main": "index.ts",
  "scripts": {
    "start": "ts-node src/index.ts",
    "build": "tsc",
    "dev": "nodemon --exec ts-node src/index.ts",
    "lint": "eslint . --ext .ts",
    "lint-fix": "eslint . --ext .ts --fix"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/open-learning-exchange/planet.git"
  },
  "keywords": [
    "GPT",
    "chat",
    "LLM",
    "API",
    "proxy"
  ],
  "author": "Open Learning Exchange",
  "license": "AGPL-3.0",
  "bugs": {
    "url": "https://github.com/open-learning-exchange/planet/issues"
  },
  "homepage": "https://github.com/open-learning-exchange/planet#readme",
  "dependencies": {
    "@google/generative-ai": "^0.3.0",
    "@types/cors": "^2.8.13",
    "@types/express": "^4.17.17",
    "@types/ws": "^8.5.6",
    "cors": "^2.8.5",
    "dotenv": "^16.1.4",
    "express": "^4.18.2",
    "nano": "^10.1.2",
    "openai": "^4.28.0",
    "ts-node": "^10.9.1",
    "typescript": "^5.1.3",
    "ws": "^8.14.2"
  },
  "devDependencies": {
    "@types/node": "^20.3.1",
    "@typescript-eslint/eslint-plugin": "^5.60.0",
    "@typescript-eslint/parser": "^5.60.0",
    "eslint": "^8.43.0",
    "nodemon": "^2.0.22"
  }
}