{
  "name": "node-openai",
  "keywords": [
    "openai",
    "chatgpt",
    "api",
    "sdk"
  ],
  "author": "joyqi",
  "license": "",
  "description": "An elegant NodeJs library for openai api.",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/joyqi/node-openai.git"
  },
  "homepage": "https://github.com/joyqi/node-openai#readme",
  "bugs": {
    "url": "https://github.com/joyqi/node-openai/issues"
  },
  "version": "v0.5.2",
  "exports": {
    ".": {
      "types": "./lib/types/index.d.ts",
      "import": "./lib/mjs/index.js",
      "require": "./lib/cjs/index.js"
    },
    "./package.json": "./package.json"
  },
  "main": "lib/cjs/index.js",
  "module": "lib/mjs/index.js",
  "types": "lib/types/index.d.ts",
  "scripts": {
    "clear": "rm -rf ./lib",
    "patch:esm-js": "npx tsc-esm-fix --tsconfig=tsconfig.mjs.json",
    "patch:esm-type": "echo '{ \"type\": \"module\" }' >> lib/mjs/package.json",
    "build:esm": "npx tsc -p tsconfig.mjs.json && npm run patch:esm-js && npm run patch:esm-type",
    "build:cjs": "npx tsc",
    "build": "npm run clear && npm run build:esm && npm run build:cjs",
    "test": "npx mocha"
  },
  "devDependencies": {
    "@types/mocha": "latest",
    "@types/node": "latest",
    "assert": "latest",
    "mocha": "latest",
    "ts-node": "latest",
    "tsc-esm-fix": "latest",
    "typescript": "latest"
  }
}
